Re:Show HN: Desed – Debugger for Sed
by jessaustin on Tuesday April 21, 2020 @01:52PM
(#22937410)
A long time ago I wrote a reformatting utility for a client in sed, because my manager didn't want to have to support the utility and Anderson claimed it couldn't be done in any language. The Androids whined and then they rewrote it in C++, which they had to support.
> However sed is perfect if you have spare time and want to write basic programs in unnecessarily complex way for fun.
There are certain things that are difficult to do in sed, but are much easier to do in ed. Though ed doesn't have the branch command and labels, having essentially random access throughout the file makes up for it.
However sed is perfect if you have spare time and want to write basic programs in unnecessarily complex way for fun.