Lintian ReportsBETA

Pexample-shell-script-fails-syntax-check

Tag versions

The tag is present in Lintian version 2.104.328. That is the most recent version we know about.

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".

Visibility: pedantic

Check: scripts

The following 16 source packages in the archive triggered the tag 30 times.

We found 10 overrides. The tag performed 67% of the time.