Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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.


Comment on Re^2: unhead and untail (GNU sed -i)
Replies are listed 'Best First'.
Re: Re^2: unhead and untail
by dmitri (Curate) 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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2015-07-08 03:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls