third-party libs
This commit is contained in:
parent
f836927d3a
commit
b154ee9266
3667 changed files with 854591 additions and 0 deletions
26
third-party/openssl-1.0.0d/util/extract-names.pl
vendored
Normal file
26
third-party/openssl-1.0.0d/util/extract-names.pl
vendored
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#!/usr/bin/perl
|
||||
|
||||
$/ = ""; # Eat a paragraph at once.
|
||||
while(<STDIN>) {
|
||||
chop;
|
||||
s/\n/ /gm;
|
||||
if (/^=head1 /) {
|
||||
$name = 0;
|
||||
} elsif ($name) {
|
||||
if (/ - /) {
|
||||
s/ - .*//;
|
||||
s/,\s+/,/g;
|
||||
s/\s+,/,/g;
|
||||
s/^\s+//g;
|
||||
s/\s+$//g;
|
||||
s/\s/_/g;
|
||||
push @words, split ',';
|
||||
}
|
||||
}
|
||||
if (/^=head1 *NAME *$/) {
|
||||
$name = 1;
|
||||
}
|
||||
}
|
||||
|
||||
print join("\n", @words),"\n";
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue