|
|
| Think about Loose Coupling | |
| PerlMonks |
Re^3: newlines in regular expressionsby tachyon (Chancellor) |
| on Dec 07, 2004 at 07:09 UTC ( [id://412890]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
perl -pi -e 's/^\s*\z//' file.txt deals with blank lines with other whitespace.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||