aboutsummaryrefslogtreecommitdiff
path: root/openssl/vendor/0.9.8d/util/extract-section.pl
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2006-10-09 16:31:22 +0000
committerRob Austein <sra@hactrn.net>2006-10-09 16:31:22 +0000
commitaba277548b76071e75fc9478002a6fc2145f64f1 (patch)
treef07acb17076536343634c4d3c1938b56c60816b8 /openssl/vendor/0.9.8d/util/extract-section.pl
parent1b2aa7959c86a835491c8cfca8c0683b747c1855 (diff)
Tag vendor OpenSSL 0.9.8d
svn path=/openssl/vendor/0.9.8d; revision=376
Diffstat (limited to 'openssl/vendor/0.9.8d/util/extract-section.pl')
-rw-r--r--openssl/vendor/0.9.8d/util/extract-section.pl12
1 files changed, 12 insertions, 0 deletions
diff --git a/openssl/vendor/0.9.8d/util/extract-section.pl b/openssl/vendor/0.9.8d/util/extract-section.pl
new file mode 100644
index 00000000..7a0ba4f6
--- /dev/null
+++ b/openssl/vendor/0.9.8d/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";
+