5 ms·
I certainly do. This is meant just as a toy, and way to learn Rust, which is what I've written this in. If I need to actually achieve something, I use python or
by soptikha2 6y ago
I certainly do. This is meant just as a toy, and way to learn Rust, which is what I've written this in. If I need to actually achieve something, I use python or haskell.
However sed is perfect if you have spare time and want to write basic programs in unnecessarily complex way for fun.
- jessaustin 6y agoA 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.
- u801e 6y ago> 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.