Re:Actually using Ed
by ralph on Sunday June 17, 2012 @08:05AM
(#4122771)
sed is great but it's a stream editor; try moving the last line to the start of the file.
[ Parent
| on HN ]
sed '$G;1h;1!H;$!d'