Remove leading and trailing spaces and tabs
authorRichard Levitte <levitte@openssl.org>
Wed, 1 Oct 2003 15:04:13 +0000 (15:04 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 1 Oct 2003 15:04:13 +0000 (15:04 +0000)
util/extract-names.pl

index 9f2ad5ef166c7e5c13a4f654dc03db1ac631ef09..744a8e2324e6cc7aaa2641d644ac2cfe1eeeafe8 100644 (file)
@@ -10,6 +10,8 @@ while(<STDIN>) {
        if (/ - /) {
            s/ - .*//;
            s/,[ \t]+/,/g;
        if (/ - /) {
            s/ - .*//;
            s/,[ \t]+/,/g;
+           s/^[ \t]+//g;
+           s/[ \t]+$//g;
            push @words, split ',';
        }
     }
            push @words, split ',';
        }
     }