Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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
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 chilling in the Monastery: (5)
As of 2015-11-30 00:28 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (754 votes), past polls