|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re^3: newlines in regular expressionsby tachyon (Chancellor) |
| on Dec 07, 2004 at 12:09 UTC ( #412890=note: print w/ replies, xml ) | Need Help?? |
|
perl -pi -e 's/^\s*\z//' file.txt deals with blank lines with other whitespace.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||