3 ms·
>Is there a strong reason why all shells have this crazy syntax For most things no. They could just as well have proper hashmap and array structures for exampl
by coldtea 8y ago
>Is there a strong reason why all shells have this crazy syntax
For most things no. They could just as well have proper hashmap and array structures for example, instead of the clusterfuck they have.
Or how about exceptions and try/catch (instead of traps and the like).
Or the side effects of the bizarro [ command (it's a command, not just the syntax for an opening bracket).
And tons of other things besides -- e.g. better argument parsing.
Better ways to add auto-completion instead of the monstrocities of bash completion and the like.