Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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.

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2016-10-23 12:01 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.