Posted Dec 25, 2010 5:07 UTC (Sat) by foom (subscriber, #14868)
[Link]
POSIX sh is standardized. Regardless of what /bin/sh actually points to, or how bloated bash is or is not, if you write a script that depends on nonstandard extensions in bash, you should put #!/bin/bash at the top.
checkbashisms
Posted Dec 31, 2010 11:52 UTC (Fri) by epa (subscriber, #39769)
[Link]
A little ironic that you use POSIX standardization as a reason for a particular shebang line, since the #! syntax is not part of POSIX at all.
I think you are probably right though - to keep everybody happy, if you want bash it's best to say what you mean.