This commit was manufactured by cvs2svn to create branch
'OpenSSL_0_9_7-stable'.
This commit is contained in:
commit
d5c79928ef
22
util/extract-names.pl
Normal file
22
util/extract-names.pl
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
#!/usr/bin/perl
|
||||||
|
|
||||||
|
$/ = ""; # Eat a paragraph at once.
|
||||||
|
while(<STDIN>) {
|
||||||
|
chop;
|
||||||
|
s/\n/ /gm;
|
||||||
|
if (/^=head1 /) {
|
||||||
|
$name = 0;
|
||||||
|
} elsif ($name) {
|
||||||
|
if (/ - /) {
|
||||||
|
s/ - .*//;
|
||||||
|
s/[ \t,]+/ /g;
|
||||||
|
push @words, split ' ';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (/^=head1 *NAME *$/) {
|
||||||
|
$name = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
print join("\n", @words),"\n";
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user