Debian Automated Code Analysis

checkbashisms analysis of dkms_2.1.1.2-5.dsc

possible bashism in ./dkms_find-provides line 9 ($'...' should be "$(printf '...')"):
IFS=$'\n'
possible bashism in ./dkms_find-provides line 12 (declare):
    declare class=$1 variants=$2 pos=$3
possible bashism in ./dkms_find-provides line 21 (declare):
    declare tag class variants pos n
possible bashism in ./dkms_find-provides line 24 ('((' should be '$(('):
	for ((n=0; n<${#class}; n++)); do
possible bashism in ./dkms_find-provides line 49 (${parm/?/pat[/str]}):
    modver=${modver// /_}
possible bashism in ./dkms_find-provides line 62 ($RANDOM):
TMPDIR=$(mktemp -d --tmpdir dkms-findprovides-$$-$RANDOM-XXXXXX)
possible bashism in ./.pc/fix-bashism.patch/dkms_common.postinst line 102 (should be >word 2>&1):
    elif [ `which rpm &>/dev/null` ]; then
possible bashism in ./.pc/use-system-tmpdir.patch/dkms_find-provides line 9 ($'...' should be "$(printf '...')"):
IFS=$'\n'
possible bashism in ./.pc/use-system-tmpdir.patch/dkms_find-provides line 12 (declare):
    declare class=$1 variants=$2 pos=$3
possible bashism in ./.pc/use-system-tmpdir.patch/dkms_find-provides line 21 (declare):
    declare tag class variants pos n
possible bashism in ./.pc/use-system-tmpdir.patch/dkms_find-provides line 24 ('((' should be '$(('):
	for ((n=0; n<${#class}; n++)); do
possible bashism in ./.pc/use-system-tmpdir.patch/dkms_find-provides line 49 (${parm/?/pat[/str]}):
    modver=${modver// /_}
possible bashism in ./.pc/use-system-tmpdir.patch/dkms_find-provides line 62 ($RANDOM):
TMPDIR=$(mktemp -d /tmp/dkms-findprovides-$$-$RANDOM-XXXXXX)
possible bashism in ./lsb_release line 292 (echo -e):
        echo -e "$MSG_LSBVER$LSB_VERSION"          # at least "n/a"
possible bashism in ./lsb_release line 316 (echo -e):
        echo -e "$MSG_DISTID$DISTRIB_ID"
possible bashism in ./lsb_release line 331 (echo -e):
        echo -e "$MSG_DISTDESC$DISTRIB_DESCRIPTION"
possible bashism in ./lsb_release line 349 (echo -e):
        echo -e "$MSG_DISTREL$DISTRIB_RELEASE"
possible bashism in ./lsb_release line 368 (echo -e):
        echo -e "$MSG_DISTCODE$(echo "$DISTRIB_CODENAME" |                    \
                                tr -d "[:blank:]")" # Remove blanks

This report was generated on Thu, 16 Dec 2010 16:38:13 +0000, based on results by checkbashisms 2.10.65git5