openssl/util/extract-section.pl

13 lines
146 B
Perl
Raw Permalink Normal View History

#!/usr/bin/perl
while(<STDIN>) {
if (/=for\s+comment\s+openssl_manual_section:(\S+)/)
{
print "$1\n";
exit 0;
}
}
print "$ARGV[0]\n";