http://qs1969.pair.com?node_id=250665


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.