typo
[openssl.git] / util / extract-names.pl
index d413a04..35bd6ed 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 *$/) {