4 ms·
Many of the comments in this thread refer to the sheer inertia of millions of LOC of bash script in the wild. This seems to be the main reason why Oil shell[1]
by otoburb 6y ago
Many of the comments in this thread refer to the sheer inertia of millions of LOC of bash script in the wild. This seems to be the main reason why Oil shell[1] aims to be "an upgrade path from bash to a better language and runtime".[2]
I wish them luck.
[1] https://www.oilshell.org/ https://www.oilshell.org/
[2] https://www.oilshell.org/why.html https://www.oilshell.org/why.html
- chubot 6y agoThanks, that is indeed the purpose of Oil, and I also noticed so many comments here pointing out the compatibility issue. That is nearly "done" for Oil, as it runs thousands of lines of real bash scripts. There's a big list of known and mostly trivial differences here: https://www.oilshell.org/release/0.8.1/doc/known-differences.html https://www.oilshell.org/release/0.8.1/doc/known-differences... If you're a bash user and you want your scripts to run under Oil, I recommend testing it! If your script doesn't run, you'll probably get a better error message than bash gives you. Or you might motivate a change the OSH language (a cleaned-up bash). It's easier to change now than later. I'm still looking for help too: http://www.oilshell.org/blog/2019/12/09.html#help-wanted http://www.oilshell.org/blog/2019/12/09.html#help-wanted https://github.com/oilshell/oil/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22 https://github.com/oilshell/oil/issues?q=is%3Aissue+is%3Aope... https://github.com/oilshell/oil/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22 https://github.com/oilshell/oil/issues?q=is%3Aissue+is%3Aope...