Remove leading and trailing spaces and tabs
[openssl.git] / util / extract-names.pl
index 9f2ad5e..744a8e2 100644 (file)
@@ -10,6 +10,8 @@ while(<STDIN>) {
        if (/ - /) {
            s/ - .*//;
            s/,[ \t]+/,/g;
+           s/^[ \t]+//g;
+           s/[ \t]+$//g;
            push @words, split ',';
        }
     }