2 ms·
There are lots of new shells around that does support everything you’re describing. Eg: - nushell - elvish (was featured on HN recently) - powershell - mure
by hnlmorg 2y ago
There are lots of new shells around that does support everything you’re describing. Eg:
- nushell
- elvish (was featured on HN recently)
- powershell
- murex (disclaimer: I’m the author of that one)
- jonathankoren 2y agoYeah. Sh needs to be abandoned. There's a million better alternatives, including those without such an asinine syntax.
- nucleardog 2y agoIf I’m going to install a tool to run my code, why would I pick any of these alternatives instead of going straight to a “real” programming language? Most of the value in sh to me is that it’s ubiquitous. I write a script and the runtime is already available across most devices, operating systems, containers, and everywhere else without an extra steps.
- hnlmorg 2y agoBecause a shell is also REPL for interacting with command line utilities. It solves a different problem to “real programming languages”.