diff options
Diffstat (limited to 'src/lib/libcrypto/util/extract-names.pl')
-rw-r--r-- | src/lib/libcrypto/util/extract-names.pl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/libcrypto/util/extract-names.pl b/src/lib/libcrypto/util/extract-names.pl index 744a8e2324..35bd6ed843 100644 --- a/src/lib/libcrypto/util/extract-names.pl +++ b/src/lib/libcrypto/util/extract-names.pl | |||
@@ -9,9 +9,11 @@ while(<STDIN>) { | |||
9 | } elsif ($name) { | 9 | } elsif ($name) { |
10 | if (/ - /) { | 10 | if (/ - /) { |
11 | s/ - .*//; | 11 | s/ - .*//; |
12 | s/,[ \t]+/,/g; | 12 | s/,\s+/,/g; |
13 | s/^[ \t]+//g; | 13 | s/\s+,/,/g; |
14 | s/[ \t]+$//g; | 14 | s/^\s+//g; |
15 | s/\s+$//g; | ||
16 | s/\s/_/g; | ||
15 | push @words, split ','; | 17 | push @words, split ','; |
16 | } | 18 | } |
17 | } | 19 | } |