Remove remaining variables for symlinked/copied headers and tests
[openssl.git] / util / extract-names.pl
index 9f2ad5ef166c7e5c13a4f654dc03db1ac631ef09..35bd6ed84326f16ca6ffbdd7e99c8fa1b6a7cf1d 100644 (file)
@@ -9,7 +9,11 @@ while(<STDIN>) {
     } elsif ($name) {
        if (/ - /) {
            s/ - .*//;
-           s/,[ \t]+/,/g;
+           s/,\s+/,/g;
+           s/\s+,/,/g;
+           s/^\s+//g;
+           s/\s+$//g;
+           s/\s/_/g;
            push @words, split ',';
        }
     }