aboutsummaryrefslogtreecommitdiff
path: root/openssl/trunk/util/extract-section.pl
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2006-06-20 17:33:26 +0000
committerRob Austein <sra@hactrn.net>2006-06-20 17:33:26 +0000
commit52261db09ef9dbf5abc95baed22722c5c332f9f7 (patch)
tree05a8dc819a8d84717dfbffc287f45e6b19002984 /openssl/trunk/util/extract-section.pl
parent8b319903618337c8bc643eb16454f59fabd2f28b (diff)
Pulling OpenSSL 0.9.8b into trunk
svn path=/openssl/trunk; revision=3
Diffstat (limited to 'openssl/trunk/util/extract-section.pl')
-rw-r--r--openssl/trunk/util/extract-section.pl12
1 files changed, 12 insertions, 0 deletions
diff --git a/openssl/trunk/util/extract-section.pl b/openssl/trunk/util/extract-section.pl
new file mode 100644
index 00000000..7a0ba4f6
--- /dev/null
+++ b/openssl/trunk/util/extract-section.pl
@@ -0,0 +1,12 @@
+#!/usr/bin/perl
+
+while(<STDIN>) {
+ if (/=for\s+comment\s+openssl_manual_section:(\S+)/)
+ {
+ print "$1\n";
+ exit 0;
+ }
+}
+
+print "$ARGV[0]\n";
+