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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2017-05-24 11:01 GMT
Find Nodes?
    Voting Booth?