|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: why does 'sed' remove the entire line?by jettero (Monsignor) |
| on Jun 10, 2010 at 15:42 UTC ( #844035=note: print w/ replies, xml ) | Need Help?? |
|
What if you just used Perl? as long as you're in there, no reason at all to fork to sed: $line =~ s/\s+$//mg....
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||