summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2004-03-25 19:52:34 +0000
committerRichard Levitte <levitte@openssl.org>2004-03-25 19:52:34 +0000
commitc2dc3ee8d9f9662486fba8c450ed8ac8251357e1 (patch)
treec10a6f99b7396c1dc9476d10e99e1a2e56ef5229
parent482c2acf02ae6709292682bef24b12e2b45d7974 (diff)
Change spaces to symbols in names.
PR: 856
-rw-r--r--util/extract-names.pl8
1 files changed, 5 insertions, 3 deletions
diff --git a/util/extract-names.pl b/util/extract-names.pl
index 744a8e2324..35bd6ed843 100644
--- a/util/extract-names.pl
+++ b/util/extract-names.pl
@@ -9,9 +9,11 @@ while(<STDIN>) {
} elsif ($name) {
if (/ - /) {
s/ - .*//;
- s/,[ \t]+/,/g;
- s/^[ \t]+//g;
- s/[ \t]+$//g;
+ s/,\s+/,/g;
+ s/\s+,/,/g;
+ s/^\s+//g;
+ s/\s+$//g;
+ s/\s/_/g;
push @words, split ',';
}
}