Detects bashisms and non-POSIX shell constructs in shell scripts
Checks for bashisms in shell scripts
checkbashisms
$ checkbashisms script.sh
$ checkbashisms *.sh
$ checkbashisms -f script.sh