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 tag type tag information count
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check [usr/share/doc/abs-guide/examples/ascii2.sh] 1
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check [usr/share/doc/abs-guide/examples/here-commsub.sh] 1
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check [usr/share/doc/abs-guide/examples/insertion-sort.bash] 1
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check [usr/share/doc/abs-guide/examples/missing-keyword.sh] 1
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check [usr/share/doc/abs-guide/examples/pb.sh] 1
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check [usr/share/doc/abs-guide/examples/mailbox_grep.sh] 1
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check [usr/share/doc/abs-guide/examples/readpipe.sh] 1
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check [usr/share/doc/abs-guide/examples/find-splitpara.sh] 1
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check [usr/share/doc/abs-guide/examples/is_spammer.bash] 1
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check [usr/share/doc/abs-guide/examples/bashpodder.sh] 1
abs-guide 10-4 abs-guide/10-4 pedantic example-shell-script-fails-syntax-check [usr/share/doc/abs-guide/examples/ascii3.sh] 1
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 [usr/share/doc/argus-client/examples/Startup/rasplit] 8
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 [usr/share/doc/argus-client/examples/Startup/rasplit] 1
bash 5.2.32-1 bash-doc/5.2.32-1 pedantic example-shell-script-fails-syntax-check [usr/share/doc/bash/examples/functions/dirstack] 1
bash 5.3~alpha1-1 bash-doc/5.3~alpha1-1 pedantic example-shell-script-fails-syntax-check [usr/share/doc/bash/examples/functions/dirstack] 1
dvbtune 0.5.ds-5 dvbtune/0.5.ds-5 pedantic example-shell-script-fails-syntax-check [usr/share/doc/dvbtune/examples/scan_ge_c.sh] 7
dvbtune 0.5.ds-5 dvbtune/0.5.ds-5+b1 pedantic example-shell-script-fails-syntax-check [usr/share/doc/dvbtune/examples/scan_ge_c.sh] 2
eccodes 2.38.3-1 libeccodes-dev/2.38.3-1 pedantic example-shell-script-fails-syntax-check [usr/share/doc/libeccodes-dev/examples/extra/message_count.sh] 5
grengine 3.1.0+dfsg-1 libgrengine-java/3.1.0+dfsg-1 pedantic example-shell-script-fails-syntax-check [usr/share/doc/libgrengine-java/examples/run-unit-test] 1
libterralib 4.3.0+dfsg.2-12.2 libterralib-doc/4.3.0+dfsg.2-12.2 pedantic example-shell-script-fails-syntax-check [usr/share/doc/libterralib-dev/examples/image_processing/bin/run_all_tests_unix.sh] 1
libterralib 4.3.0+dfsg.2-12.2 libterralib-doc/4.3.0+dfsg.2-12.2 pedantic example-shell-script-fails-syntax-check [usr/share/doc/libterralib-dev/examples/image_processing/run_all_tests_unix.sh] 1
mgetty 1.2.1-1.4 mgetty-docs/1.2.1-1.4 pedantic example-shell-script-fails-syntax-check [usr/share/doc/mgetty/examples/new_fax.pbm] 1
mh-book 200605-2.3 mh-book/200605-2.3 pedantic example-shell-script-fails-syntax-check [usr/share/doc/mh-book/examples/mh/bin/fpick] 1
ns2 2.35+dfsg-6 ns2-examples/2.35+dfsg-6 pedantic example-shell-script-fails-syntax-check [usr/share/doc/ns2/examples/tcl/test/test-suite-plm.tcl] 1
ns2 2.35+dfsg-6 ns2-examples/2.35+dfsg-6 pedantic example-shell-script-fails-syntax-check [usr/share/doc/ns2/examples/tcl/test/test-suite-wpan.tcl] 1
openfoam 1912.200626-3 openfoam-examples/1912.200626-3 pedantic example-shell-script-fails-syntax-check [usr/share/doc/openfoam-examples/examples/combustion/fireFoam/LES/compartmentFire/validation/createGraphs] 1
openfoam 1912.200626-3 openfoam-examples/1912.200626-3 pedantic example-shell-script-fails-syntax-check [usr/share/doc/openfoam-examples/examples/verificationAndValidation/schemes/divergenceExample/Allrun] 1
rsyncrypto 1.14-1.2 rsyncrypto/1.14-1.2+b2 pedantic example-shell-script-fails-syntax-check [usr/share/doc/rsyncrypto/examples/tests/regtestw32] 8
rsyncrypto 1.14-1.2 rsyncrypto/1.14-1.2+b2 pedantic example-shell-script-fails-syntax-check [usr/share/doc/rsyncrypto/examples/tests/regtest] 8
rsyncrypto 1.14-1.2 rsyncrypto/1.14-1.2+b3 pedantic example-shell-script-fails-syntax-check [usr/share/doc/rsyncrypto/examples/tests/regtest] 1
rsyncrypto 1.14-1.2 rsyncrypto/1.14-1.2+b3 pedantic example-shell-script-fails-syntax-check [usr/share/doc/rsyncrypto/examples/tests/regtestw32] 1
ucf 3.0043+nmu1 ucf/3.0043+nmu1 pedantic example-shell-script-fails-syntax-check [usr/share/doc/ucf/examples/postinst] 1
xmlstarlet 1.6.1-4 xmlstarlet/1.6.1-4 pedantic example-shell-script-fails-syntax-check [usr/share/doc/xmlstarlet/examples/xmlstarlet.msys] 8
xmlstarlet 1.6.1-4 xmlstarlet/1.6.1-4+b1 pedantic example-shell-script-fails-syntax-check [usr/share/doc/xmlstarlet/examples/xmlstarlet.msys] 1