3 ms·
Yeah good point. Bash and/or another shell is likely to be easily installable on whatever system you're on, you have no obligation to use the default shell. I
by roryrjb 7y ago
Yeah good point. Bash and/or another shell is likely to be easily installable on whatever system you're on, you have no obligation to use the default shell.
I guess my main point with the PR was just not to ignore history and point out that both ksh and tcsh are both actively used and maintained. Ok they're not as popular of course but then again BSD isn't as popular as Linux but they are still relevant and active. In a repo that is years old at this point, has 16,000+ stars and would be considered a comprehensive guide on anything shell it's a very basic omission.
As for uniformity, in terms of scripts, for 99% of use cases I write them in POSIX shell, for portability too. Anything that falls out of this I'd potentially reach for a Bash or Ksh feature but as a rule of thumb, if what I'm trying to do calls for an array, which bash can provide then that's the point I think, that you should be moving onto a more featureful language.