shell-script-fails-syntax-check

Running this shell script with the shell's -n option set fails, which means that the script has syntax errors. The most common cause of this problem is a script expecting /bin/sh to be bash checked on a system using dash as /bin/sh.

Run e.g. sh -n yourscript to see the errors yourself.

Note this can have false-positives, for an example with bash scripts using "extglob".

Severity: error
Experimental: false

See also