Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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/

[2] https://www.oilshell.org/why.html



Thanks, 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...

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

https://github.com/oilshell/oil/issues?q=is%3Aissue+is%3Aope...

https://github.com/oilshell/oil/issues?q=is%3Aissue+is%3Aope...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: