Re:Amber – the programming language compiled to Bash
by biggestlou on Wednesday May 22, 2024 @10:33AM
(#40441508)
Oil shell requires osh to run. That means that you can't run Oil scripts on systems that only have Bash installed.
[ Parent
| on HN ]
Re:Amber – the programming language compiled to Bash
by greggyb on Wednesday May 22, 2024 @12:37PM
(#40442953)
Osh is stricter than bash. Anything written to osh should run in bash with no issues whatsoever.
Ysh implements new, non-compatible syntax and semantics.
Osh and ysh are two different shell languages from the Oils for UNIX project. The release build generates a single binary, oils-for-unix, and installation creates two symlinks for the two different shell personalities, similar to how the bash binary will behave in its POSIX-compliant mode when it is invoked as sh.
There is no "Oil shell" now, at least not without ambiguity.