Re:Modernish: a shell moderniser library
by yorwba on Tuesday February 06, 2018 @01:27PM
(#16318219)
I think the point of this library is that all those gory details necessary for sane error handling are encapsulated, so you can build on that work if you absolutely need to write shell scripts. Otherwise, yeah, I hope that Oil will be the promised better shell and make bash & co. obsolete.
For example have a look at the definition of `sfor`
Doesn't look too bad at first, until you realize `sfor` is an alias which is defined as So it's an alias which expands to two commands.No have a look at the definition of `_Msh_doSfor`
No thanks, I'd rather use Python.