aboutsummaryrefslogtreecommitdiff
path: root/openssl/vendor/current/util/extract-section.pl
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2006-06-20 17:32:05 +0000
committerRob Austein <sra@hactrn.net>2006-06-20 17:32:05 +0000
commiteca4feb580cffd6af474f599efe3fe99505a525c (patch)
tree59fa47c6f197931d6da746cadf7ad37ff1ec4557 /openssl/vendor/current/util/extract-section.pl
Importing OpenSSL 0.9.8b
svn path=/openssl/vendor/current/CHANGES; revision=1
Diffstat (limited to 'openssl/vendor/current/util/extract-section.pl')
-rw-r--r--openssl/vendor/current/util/extract-section.pl12
1 files changed, 12 insertions, 0 deletions
diff --git a/openssl/vendor/current/util/extract-section.pl b/openssl/vendor/current/util/extract-section.pl
new file mode 100644
index 00000000..7a0ba4f6
--- /dev/null
+++ b/openssl/vendor/current/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";
+