Lintian tag: example-shell-script-fails-syntax-check

Type: pedantic

Description (from lintian-explain-tags)

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
Show-Always: no
Check: script/syntax

Affected packages

source version binary level tag count information
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/abs-guide/examples/mailbox_grep.sh]
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/abs-guide/examples/find-splitpara.sh]
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/abs-guide/examples/pb.sh]
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/abs-guide/examples/readpipe.sh]
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/abs-guide/examples/ascii3.sh]
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/abs-guide/examples/here-commsub.sh]
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/abs-guide/examples/is_spammer.bash]
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/abs-guide/examples/bashpodder.sh]
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/abs-guide/examples/missing-keyword.sh]
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/abs-guide/examples/insertion-sort.bash]
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/abs-guide/examples/ascii2.sh]
argus-clients 1:3.0.8.2-6.3 argus-client/1:3.0.8.2-6.3 pedantic example-shell-script-fails-syntax-check 8 [usr/share/doc/argus-client/examples/Startup/rasplit]
argus-clients 1:3.0.8.2-6.3 argus-client/1:3.0.8.2-6.3+b1 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/argus-client/examples/Startup/rasplit]
bash 5.2.37-1.1 bash-doc/5.2.37-1.1 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/bash/examples/functions/dirstack]
bash 5.3~beta1-1 bash-doc/5.3~beta1-1 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/bash/examples/functions/dirstack]
dvbtune 0.5.ds-5 dvbtune/0.5.ds-5 pedantic example-shell-script-fails-syntax-check 7 [usr/share/doc/dvbtune/examples/scan_ge_c.sh]
dvbtune 0.5.ds-5 dvbtune/0.5.ds-5+b1 pedantic example-shell-script-fails-syntax-check 2 [usr/share/doc/dvbtune/examples/scan_ge_c.sh]
grengine 3.1.0+dfsg-1 libgrengine-java/3.1.0+dfsg-1 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/libgrengine-java/examples/run-unit-test]
libterralib 4.3.0+dfsg.2-12.2 libterralib-doc/4.3.0+dfsg.2-12.2 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/libterralib-dev/examples/image_processing/run_all_tests_unix.sh]
libterralib 4.3.0+dfsg.2-12.2 libterralib-doc/4.3.0+dfsg.2-12.2 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/libterralib-dev/examples/image_processing/bin/run_all_tests_unix.sh]
mgetty 1.2.1-2 mgetty-docs/1.2.1-2 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/mgetty/examples/new_fax.pbm]
mh-book 200605-2.3 mh-book/200605-2.3 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/mh-book/examples/mh/bin/fpick]
ns2 2.35+dfsg-9 ns2-examples/2.35+dfsg-9 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/ns2/examples/tcl/test/test-suite-wpan.tcl]
ns2 2.35+dfsg-9 ns2-examples/2.35+dfsg-9 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/ns2/examples/tcl/test/test-suite-plm.tcl]
openfoam 1912.200626-3 openfoam-examples/1912.200626-3 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/openfoam-examples/examples/verificationAndValidation/schemes/divergenceExample/Allrun]
openfoam 1912.200626-3 openfoam-examples/1912.200626-3 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/openfoam-examples/examples/combustion/fireFoam/LES/compartmentFire/validation/createGraphs]
rsyncrypto 1.14-1.2 rsyncrypto/1.14-1.2+b2 pedantic example-shell-script-fails-syntax-check 8 [usr/share/doc/rsyncrypto/examples/tests/regtest]
rsyncrypto 1.14-1.2 rsyncrypto/1.14-1.2+b2 pedantic example-shell-script-fails-syntax-check 8 [usr/share/doc/rsyncrypto/examples/tests/regtestw32]
rsyncrypto 1.14-1.2 rsyncrypto/1.14-1.2+b3 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/rsyncrypto/examples/tests/regtestw32]
rsyncrypto 1.14-1.2 rsyncrypto/1.14-1.2+b3 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/rsyncrypto/examples/tests/regtest]
xmlstarlet 1.6.1-4 xmlstarlet/1.6.1-4 pedantic example-shell-script-fails-syntax-check 8 [usr/share/doc/xmlstarlet/examples/xmlstarlet.msys]
xmlstarlet 1.6.1-4 xmlstarlet/1.6.1-4+b1 pedantic example-shell-script-fails-syntax-check 1 [usr/share/doc/xmlstarlet/examples/xmlstarlet.msys]