possible bashism in ./testset/maintainer-scripts/debian/postinst line 16 (sourced script with arguments): . /usr/share/lintian/shell foo possible bashism in ./testset/maintainer-scripts/debian/postinst line 17 (sourced script with arguments): . "$(dirname $0)/shell" bar possible bashism in ./testset/maintainer-scripts/debian/postinst line 20 (read without variable): read possible bashism in ./testset/maintainer-scripts/debian/postinst line 22 (bash arrays, H[0]): H[0]='this is a string' possible bashism in ./testset/maintainer-scripts/debian/postinst line 23 (bash arrays, ${name[0|*|@]}): echo ${H[0]} possible bashism in ./testset/maintainer-scripts/debian/postinst line 24 (bash arrays, ${name[0|*|@]}): echo "Index 0's length is ${#H[0]}" possible bashism in ./testset/maintainer-scripts/debian/postinst line 25 (bash arrays, ${name[0|*|@]}): echo "All of the array is: ${H[@]}" possible bashism in ./testset/maintainer-scripts/debian/postinst line 110 (bash arrays, ${name[0|*|@]}): echo "All of the array is: ${H[@]}" possible bashism in ./testset/maintainer-scripts/debian/postinst line 145 (echo -e): echo -e 'foo\n' possible bashism in ./testset/maintainer-scripts/debian/postinst line 146 (${!name}): echo "${!foo}" possible bashism in ./testset/maintainer-scripts/debian/postinst line 148 ('select' is not POSIX): select foo in a b ; do echo $foo ; done possible bashism in ./testset/maintainer-scripts/debian/postinst line 151 (exec -c/-l/-a name): exec -l /bin/sh possible bashism in ./testset/maintainer-scripts/debian/postinst line 152 (exec -c/-l/-a name): exec -c /bin/sh possible bashism in ./testset/maintainer-scripts/debian/postinst line 153 (exec -c/-l/-a name): exec -a foo /bin/sh possible bashism in ./testset/maintainer-scripts/debian/postinst line 155 (let ...): let cnt++ possible bashism in ./testset/maintainer-scripts/debian/postinst line 156 (test with unary -a (should be -e)): if test -a /etc/default ; then possible bashism in ./testset/maintainer-scripts/debian/postinst line 157 ($RANDOM): echo "$RANDOM|stuff" possible bashism in ./testset/maintainer-scripts/debian/postinst line 177 ($RANDOM): test $# -gt 2 && echo $RANDOM possible bashism in ./testset/maintainer-scripts/debian/prerm line 19 (should be 'b = a'): if [ "$2" == "purge" ]; then possible bashism in ./testset/maintainer-scripts/debian/prerm line 23 ('function' is useless): function foo( ) { possible bashism in ./testset/maintainer-scripts/debian/prerm line 26 (should be >word 2>&1): echo "foo" &>/dev/null possible bashism in ./testset/maintainer-scripts/debian/prerm line 29 (should be '.', not 'source'): source $FOO possible bashism in ./testset/maintainer-scripts/debian/prerm line 33 (alternative test command ([[ foo ]] should be [ foo ])): if [[ "$2" = "purge" ]]; then possible bashism in ./testset/maintainer-scripts/debian/prerm line 52 (${foo:3[:1]}): echo "${line:3:1}" possible bashism in ./testset/maintainer-scripts/debian/prerm line 62 (read with option other than -r): read -x foo possible bashism in ./testset/maintainer-scripts/debian/prerm line 63 (read with option other than -r): read -x possible bashism in ./testset/maintainer-scripts/debian/prerm line 63 (read without variable): read -x possible bashism in ./testset/maintainer-scripts/debian/prerm line 66 (read without variable): read possible bashism in ./testset/maintainer-scripts/debian/prerm line 71 ($UID should be "$(id -ru)"): echo "${UID}" possible bashism in ./testset/maintainer-scripts/debian/prerm line 72 ($EUID should be "$(id -u)"): echo "$EUID" possible bashism in ./testset/maintainer-scripts/debian/prerm line 73 ($SHLVL): echo "$SHLVL" possible bashism in ./testset/maintainer-scripts/debian/prerm line 74 ($DIRSTACK): echo "$DIRSTACK" possible bashism in ./testset/maintainer-scripts/debian/prerm line 75 ($SECONDS): echo "$SECONDS" possible bashism in ./testset/maintainer-scripts/debian/prerm line 78 ($SHELLOPTS): echo "$SHELLOPTS" possible bashism in ./testset/maintainer-scripts/debian/prerm line 79 ($PIPESTATUS): echo "$PIPESTATUS" possible bashism in ./testset/maintainer-scripts/debian/prerm line 81 (<<< here string): bar="$(cut '-d|' -f2 <<< "$foo")" possible bashism in ./testset/maintainer-scripts/debian/prerm line 84 (should be VAR="${VAR}foo"): VAR+=a possible bashism in ./testset/maintainer-scripts/debian/prerm line 87 (echo -e): echo -n -e "bar" possible bashism in ./testset/maintainer-scripts/debian/prerm line 88 (echo -e): echo -e -n "bar" possible bashism in ./testset/maintainer-scripts/debian/prerm line 89 (echo -e): echo -en "bar" possible bashism in ./testset/maintainer-scripts/debian/prerm line 90 (echo -e): echo -ne "bar" possible bashism in ./testset/maintainer-scripts/debian/prerm line 95 (function names should only contain [a-z0-9_]): ech.os() { possible bashism in ./testset/maintainer-scripts/debian/prerm line 97 (should be >word 2>&1): echo foo >&bar possible bashism in ./testset/maintainer-scripts/debian/prerm line 98 (should be >word 2>&1): echo foo >& bar possible bashism in ./testset/maintainer-scripts/debian/prerm line 106 (echo -e): echo -e "abc\nxyz" possible bashism in ./testset/maintainer-scripts/debian/prerm line 108 (echo -e): echo -e foo\cbar possible bashism in ./testset/maintainer-scripts/debian/prerm line 111 (function names should only contain [a-z0-9_]): foobar.() { possible bashism in ./testset/maintainer-scripts/debian/prerm line 112 (suspend): suspend x possible bashism in ./testset/maintainer-scripts/debian/prerm line 114 (caller): caller x possible bashism in ./testset/maintainer-scripts/debian/prerm line 115 (complete): complete x possible bashism in ./testset/maintainer-scripts/debian/prerm line 116 (compgen): compgen x possible bashism in ./testset/maintainer-scripts/debian/prerm line 117 (declare): declare -a foo possible bashism in ./testset/maintainer-scripts/debian/prerm line 120 (function names should only contain [a-z0-9_]): .foobar() { possible bashism in ./testset/maintainer-scripts/debian/prerm line 121 (typeset): typeset -x bar possible bashism in ./testset/maintainer-scripts/debian/prerm line 122 (disown): disown 1 possible bashism in ./testset/maintainer-scripts/debian/prerm line 123 (builtin): builtin foo possible bashism in ./testset/maintainer-scripts/debian/prerm line 124 (set -[BHT]): set -B possible bashism in ./testset/maintainer-scripts/debian/prerm line 125 (alias -p): alias -p possible bashism in ./testset/maintainer-scripts/debian/prerm line 126 (unalias -a): unalias -a possible bashism in ./testset/maintainer-scripts/debian/prerm line 132 (shopt): shopt possible bashism in ./testset/maintainer-scripts/debian/prerm line 134 (time): time ls possible bashism in ./testset/maintainer-scripts/debian/prerm line 135 (dirs): dirs possible bashism in ./testset/maintainer-scripts/debian/prerm line 136 (<() process substituion): diff <(tac a) <(tac b) possible bashism in ./testset/maintainer-scripts/debian/prerm line 138 ((push|pop)d): pushd possible bashism in ./testset/maintainer-scripts/debian/prerm line 141 (local -opt): local -x foo possible bashism in ./testset/maintainer-scripts/debian/prerm line 143 ((push|pop)d): popd possible bashism in ./testset/maintainer-scripts/debian/prerm line 145 (readonly -[af]): readonly -f possible bashism in ./testset/maintainer-scripts/debian/prerm line 147 (/dev/(tcp|udp)): echo bar > /dev/tcp possible bashism in ./testset/maintainer-scripts/debian/prerm line 149 (export only takes -p as an option): export -x x possible bashism in ./testset/maintainer-scripts/debian/prerm line 153 (sh -[rD]): sh -D possible bashism in ./testset/maintainer-scripts/debian/prerm line 154 (sh --long-option): sh --foo possible bashism in ./testset/maintainer-scripts/debian/prerm line 155 (sh [-+]O): sh +O possible bashism in ./testset/maintainer-scripts/debian/prerm line 158 (brace expansion): echo {a,b} possible bashism in ./testset/maintainer-scripts/debian/prerm line 166 (function names should only contain [a-z0-9_]): foo.bar() possible bashism in ./testset/maintainer-scripts/debian/prerm line 171 (function names should only contain [a-z0-9_]): foobar@() possible bashism in ./testset/maintainer-scripts/debian/prerm line 179 (read without variable): read -r possible bashism in ./testset/maintainer-scripts/debian/prerm line 180 (read with option other than -r): read -p "Would you like to restart the service?" foo bar possible bashism in ./testset/maintainer-scripts/debian/prerm line 181 (read with option other than -r): read --fish possible bashism in ./testset/maintainer-scripts/debian/prerm line 185 (should be '.', not 'source'): source "$BAR" possible bashism in ./testset/maintainer-scripts/debian/prerm line 186 (should be '.', not 'source'): source '$BAR' possible bashism in ./testset/maintainer-scripts/debian/prerm line 187 (should be '.', not 'source'): source ~/bar possible bashism in ./testset/maintainer-scripts/debian/prerm line 188 (should be '.', not 'source'): source a possible bashism in ./t/tests/scripts-bashisms/debian/debian/postinst line 10 (sourced script with arguments): . /usr/share/lintian/shell foo possible bashism in ./t/tests/scripts-bashisms/debian/debian/postinst line 11 (sourced script with arguments): . "$(dirname $0)/shell" bar possible bashism in ./t/tests/scripts-bashisms/debian/debian/postinst line 14 (read without variable): read possible bashism in ./t/tests/scripts-bashisms/debian/debian/postinst line 16 (bash arrays, H[0]): H[0]='this is a string' possible bashism in ./t/tests/scripts-bashisms/debian/debian/postinst line 17 (bash arrays, ${name[0|*|@]}): echo ${H[0]} possible bashism in ./t/tests/scripts-bashisms/debian/debian/postinst line 18 (bash arrays, ${name[0|*|@]}): echo "Index 0's length is ${#H[0]}" possible bashism in ./t/tests/scripts-bashisms/debian/debian/postinst line 19 (bash arrays, ${name[0|*|@]}): echo "All of the array is: ${H[@]}" possible bashism in ./t/tests/scripts-bashisms/debian/debian/postinst line 28 (bash arrays, ${name[0|*|@]}): echo "All of the array is: ${H[@]}" possible bashism in ./t/tests/scripts-bashisms/debian/debian/postinst line 63 (echo -e): echo -e 'foo\n' possible bashism in ./t/tests/scripts-bashisms/debian/debian/postinst line 64 (${!name}): echo "${!foo}" possible bashism in ./t/tests/scripts-bashisms/debian/debian/postinst line 66 ('select' is not POSIX): select foo in a b ; do echo $foo ; done possible bashism in ./t/tests/scripts-bashisms/debian/debian/postinst line 69 (exec -c/-l/-a name): exec -l /bin/sh possible bashism in ./t/tests/scripts-bashisms/debian/debian/postinst line 70 (exec -c/-l/-a name): exec -c /bin/sh possible bashism in ./t/tests/scripts-bashisms/debian/debian/postinst line 71 (exec -c/-l/-a name): exec -a foo /bin/sh possible bashism in ./t/tests/scripts-bashisms/debian/debian/postinst line 73 (let ...): let cnt++ possible bashism in ./t/tests/scripts-bashisms/debian/debian/postinst line 74 (test with unary -a (should be -e)): if test -a /etc/default ; then possible bashism in ./t/tests/scripts-bashisms/debian/debian/postinst line 75 ($RANDOM): echo "$RANDOM|stuff" possible bashism in ./t/tests/scripts-bashisms/debian/debian/postinst line 80 ($RANDOM): test $# -gt 2 && echo $RANDOM possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 12 (should be 'b = a'): if [ "$2" == "purge" ]; then possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 16 ('function' is useless): function foo( ) { possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 19 (should be >word 2>&1): echo "foo" &>/dev/null possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 22 (should be '.', not 'source'): source $FOO possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 26 (alternative test command ([[ foo ]] should be [ foo ])): if [[ "$2" = "purge" ]]; then possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 43 (${foo:3[:1]}): echo "${line:3:1}" possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 47 (read with option other than -r): read -x foo possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 48 (read with option other than -r): read -x possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 48 (read without variable): read -x possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 51 (read without variable): read possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 56 ($UID should be "$(id -ru)"): echo "${UID}" possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 57 ($EUID should be "$(id -u)"): echo "$EUID" possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 58 ($SHLVL): echo "$SHLVL" possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 59 ($DIRSTACK): echo "$DIRSTACK" possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 60 ($SECONDS): echo "$SECONDS" possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 63 ($SHELLOPTS): echo "$SHELLOPTS" possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 64 ($PIPESTATUS): echo "$PIPESTATUS" possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 66 (<<< here string): bar="$(cut '-d|' -f2 <<< "$foo")" possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 69 (should be VAR="${VAR}foo"): VAR+=a possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 72 (echo -e): echo -n -e "bar" possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 73 (echo -e): echo -e -n "bar" possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 74 (echo -e): echo -en "bar" possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 75 (echo -e): echo -ne "bar" possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 80 (function names should only contain [a-z0-9_]): ech.os() { possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 82 (should be >word 2>&1): echo foo >&bar possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 83 (should be >word 2>&1): echo foo >& bar possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 91 (echo -e): echo -e "abc\nxyz" possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 93 (echo -e): echo -e foo\cbar possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 96 (function names should only contain [a-z0-9_]): foobar.() { possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 97 (suspend): suspend x possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 99 (caller): caller x possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 100 (complete): complete x possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 101 (compgen): compgen x possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 102 (declare): declare -a foo possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 105 (function names should only contain [a-z0-9_]): .foobar() { possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 106 (typeset): typeset -x bar possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 107 (disown): disown 1 possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 108 (builtin): builtin foo possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 109 (set -[BHT]): set -B possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 110 (alias -p): alias -p possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 111 (unalias -a): unalias -a possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 117 (shopt): shopt possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 119 (time): time ls possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 120 (dirs): dirs possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 121 (<() process substituion): diff <(tac a) <(tac b) possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 123 ((push|pop)d): pushd possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 126 (local -opt): local -x foo possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 128 ((push|pop)d): popd possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 130 (readonly -[af]): readonly -f possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 132 (/dev/(tcp|udp)): echo bar > /dev/tcp possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 134 (export only takes -p as an option): export -x x possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 138 (sh -[rD]): sh -D possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 139 (sh --long-option): sh --foo possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 140 (sh [-+]O): sh +O possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 143 (brace expansion): echo {a,b} possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 151 (function names should only contain [a-z0-9_]): foo.bar() possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 156 (function names should only contain [a-z0-9_]): foobar@() # foo possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 164 (read without variable): read -r possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 165 (read with option other than -r): read -p "Would you like to restart the service?" foo bar possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 166 (read with option other than -r): read --fish possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 168 (should be '.', not 'source'): source "$BAR" possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 169 (should be '.', not 'source'): source '$BAR' possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 170 (should be '.', not 'source'): source ~/bar possible bashism in ./t/tests/scripts-bashisms/debian/debian/prerm line 171 (should be '.', not 'source'): source a
This report was generated on Fri, 17 Dec 2010 05:38:20 +0000, based on results by checkbashisms 2.10.65git5