There's more than one way to do things | |
PerlMonks |
Re: One-liner removes whitespace-only lines from text fileby jmcnamara (Monsignor) |
on Dec 19, 2001 at 14:00 UTC ( [id://133075]=note: print w/replies, xml ) | Need Help?? |
This is attributable to abigail: perl -lp00ee file Update: As chip points out, this one-liner removes blank lines and not whitespace-only lines.
--
In Section
Cool Uses for Perl
|
|