https://github.com/koalaman/shellcheck
Ksh, csh, rc, tsh - not everyone uses bash.
https://github.com/koalaman/shellcheck/blob/master/ShellChec...
shellForExecutable "sh" = return Sh
shellForExecutable "ash" = return Sh
shellForExecutable "dash" = return Sh
shellForExecutable "ksh" = return Ksh
shellForExecutable "ksh88" = return Ksh
shellForExecutable "ksh93" = return Ksh
shellForExecutable "zsh" = return Zsh
shellForExecutable "bash" = return Bash
shellForExecutable _ = Nothing
[0]http://www.shellcheck.net/about.html
Personally, I enjoy cleverness like this.
and, from parts of the source code, it appears it may work with ksh, zsh, etc. (i don't have a sample handy to try though).
https://github.com/koalaman/shellcheck