So Debian/Ubuntu ship completely without Bash? According to [1], it's Bash, but it might be outdated.
So Debian/Ubuntu ship completely without Bash? According to [1], it's Bash, but it might be outdated.
What is shipped as /bin/sh is described here:
http://gondor.apana.org.au/~herbert/dash/
From the EPEL RPM:
"DASH is a POSIX-compliant implementation of /bin/sh that aims to be as small as possible. It does this without sacrificing speed where possible. In fact, it is significantly faster than bash (the GNU Bourne-Again SHell) for most tasks."
I think the bigger stumbling block is that people often can't differentiate bashisms from basic shell scripting.
I agree about the importance of differentiating bashisms from basic scripting, but I think the root cause of that is documentation (including this book) that don't make the distinction.
I'm not trying to be difficult, but I just don't see a problem. Explicitly use bash (or a derivative) if you want bashisms, don't if you do not.
Both are spiritual descendants of Bourne shell directly, with some ksh, csh, and tcsh mixed in, in varying proportions.