Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: unhead and untail (GNU sed -i)

by Aristotle (Chancellor)
on Apr 15, 2003 at 20:09 UTC ( #250665=note: print w/replies, xml ) Need Help??


in reply to Re: unhead and untail
in thread unhead and untail

unhead is superfluous even with inplace editing given recent versions of GNU sed, as they sport an -i switch for inplace editing just like Perl has. What you still can't do with sed is specify "X lines before end of file" addresses.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re^2: unhead and untail
by dmitri (Priest) on Apr 15, 2003 at 20:41 UTC
    > What you still can't do with sed is specify "X lines before end of file" addresses.

    Neither can this utility, read the description.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2017-01-23 23:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (199 votes). Check out past polls.