Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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??


in reply to why does 'sed' remove the entire line?

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....

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://844035]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2016-12-09 16:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (153 votes). Check out past polls.