Remove leading and trailing spaces and tabs

This commit is contained in:
Richard Levitte 2003-10-01 15:04:13 +00:00
parent aed29ce5ea
commit 4d8148fa98

View File

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