I know that zsh is the hot new thing, but I've been using bash for about 30 years, and at this point, sheer inertia means it's unlikely I'll ever switch away. Long may it continue.
For portability reasons I prefer to write POSIX shell scripts instead of Bash scripts:<p><a href="https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html" rel="nofollow">https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...</a>
macOS keeps reminding me Apple has chosen tivoization over FLOSS:<p><pre><code> $ /bin/bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin19)
Copyright (C) 2007 Free Software Foundation, Inc.</code></pre>
Let's take a moment to remember, that while bash is good, there are other shells out there as well. UNIX is great in that it offers a choice, and we should not lock ourselves into a shell monoculture (similarly to how a web browser monoculture is bad for everyone in the end).<p>Some of us believe rather strongly that tcsh is way better, some of us prefer zsh, and that's fine!<p>It's a good idea to take a look at other shells, at least to know what's out there and to make an educated choice, rather than use "what most people use".<p>So, next time you write a script or instructions, please remember that not everyone uses 'export', and also that not every /bin/sh is a bash.