aboutsummaryrefslogtreecommitdiff
path: root/openssl/util/extract-section.pl
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/util/extract-section.pl')
-rw-r--r--openssl/util/extract-section.pl12
1 files changed, 12 insertions, 0 deletions
diff --git a/openssl/util/extract-section.pl b/openssl/util/extract-section.pl
new file mode 100644
index 000000000..7a0ba4f69
--- /dev/null
+++ b/openssl/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";
+