summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-10-01 17:04:13 +0200
committerRichard Levitte <levitte@openssl.org>2003-10-01 17:04:13 +0200
commit4d8148fa98145847aacd8feea593823c2386b1b0 (patch)
treec54aedafde26b4d7de86da108f77a3faf48426bc /util
parentAvoid 'file names' with spaces (diff)
downloadopenssl-4d8148fa98145847aacd8feea593823c2386b1b0.tar.xz
openssl-4d8148fa98145847aacd8feea593823c2386b1b0.zip
Remove leading and trailing spaces and tabs
Diffstat (limited to 'util')
-rw-r--r--util/extract-names.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/extract-names.pl b/util/extract-names.pl
index 9f2ad5ef16..744a8e2324 100644
--- a/util/extract-names.pl
+++ b/util/extract-names.pl
@@ -10,6 +10,8 @@ while(<STDIN>) {
if (/ - /) {
s/ - .*//;
s/,[ \t]+/,/g;
+ s/^[ \t]+//g;
+ s/[ \t]+$//g;
push @words, split ',';
}
}