Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re^4: sed

by runrig (Abbot)
on Sep 20, 2002 at 17:48 UTC ( #199547=note: print w/ replies, xml ) Need Help??


in reply to Re^4: sed
in thread Save all but line 32!

It's 10 actually, I can leave out a space.

sed -e32d filename
And in all of the sed implementations I've seen so far, you can leave out the '-e' since the first argument (when there's no -e) is by default assumed to be the sed script.


Comment on Re: Re^4: sed
Download Code
Re^6: sed
by Aristotle (Chancellor) on Sep 20, 2002 at 18:13 UTC
    Works indeed. So 8 characters for the sed way.. :-) ++

    Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://199547]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2014-09-21 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (166 votes), past polls