Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: removing all whitespace but newlinesby ibanix (Hermit) |
on Jan 28, 2003 at 19:34 UTC ( [id://230702]=note: print w/replies, xml ) | Need Help?? |
How do you delete all whitespace but the newline? A simple and probally inefficent way to do it, assuming you're processing one line at a time:
Cheers, ibanix $ echo '$0 & $0 &' > foo; chmod a+x foo; foo;
In Section
Seekers of Perl Wisdom
|
|