Why aren’t new terminals that use another language? It seems so antiquated getting errors for not writing the functions in the correct order among other things.
Why aren’t new terminals that use another language? It seems so antiquated getting errors for not writing the functions in the correct order among other things.
I‘d say one of the primary reasons is compatibility. There is a lot of software for the Unix world that expects some kind of environment that behaves similarly to bash - imagine for instance of the bazillion of startup scripts that exist around certain tools. You’d have to be 100% backwards compatible with the bash language if you were to invent something to replace it, otherwise all those things wouldn’t work in your shell.
Why not use POSIX shell?