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.
Because people code in Bash. For example, a Makefile that I downloaded from GitHub didn’t work on my computer, since my computer’s default shell was Dash.
The Makefile didn’t have the shebang to tell which shell is required, but it looks like a Bash script and it works on Bash.
I think the fault is in the makefike, not that bash is commonly used.
I use bash for interactive sessions and POSIX shell for scripts (including the shebang).