From c2dc3ee8d9f9662486fba8c450ed8ac8251357e1 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 25 Mar 2004 19:52:34 +0000 Subject: [PATCH] Change spaces to symbols in names. PR: 856 --- util/extract-names.pl | 8 +++++--- 1 file 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() { } 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 ','; } } -- 2.34.1