3 ms·
"scsh" (Scheme Shell) has something like this and many other features that make it a good alternative to bash scripts. https://scsh.net/about/what.html https:/
by adrian_b 3y ago
"scsh" (Scheme Shell) has something like this and many other features that make it a good alternative to bash scripts.
https://scsh.net/about/what.html https://scsh.net/about/what.html
It certainly is much more convenient than Python for writing scripts that must execute other programs.
Many years ago, I have written quite a large amount of big scripts in scsh, and it was much easier to avoid bugs and to maintain them than in a traditional UNIX shell, without being so verbose as something like Python.
Unfortunately, nowadays scsh is quite ancient and it would need some serious work to bring it up-to-date, to be able to work without limitations on modern computers. It would probably be necessary to port it to a more recent Scheme interpreter than Scheme 48 (which is an old 32-bit program).