util/pl/VC-32.pl: refresh, switch to ws2, add crypt32, fix typo (based on
[openssl.git] / util / extract-names.pl
index d413a045cc450da934e9b2a76833859b3881eeea..35bd6ed84326f16ca6ffbdd7e99c8fa1b6a7cf1d 100644 (file)
@@ -9,8 +9,12 @@ while(<STDIN>) {
     } elsif ($name) {
        if (/ - /) {
            s/ - .*//;
-           s/[ \t,]+/ /g;
-           push @words, split ' ';
+           s/,\s+/,/g;
+           s/\s+,/,/g;
+           s/^\s+//g;
+           s/\s+$//g;
+           s/\s/_/g;
+           push @words, split ',';
        }
     }
     if (/^=head1 *NAME *$/) {