Debian Automated Code Analysis

checkbashisms analysis of nagios-plugins_1.4.15-3.dsc

possible bashism in ./configure line 13155 ('$(< foo)' should be '$(cat foo)'):
	NP_RELEASE="$(<release)"
possible bashism in ./configure line 13328 ($HOST(TYPE|NAME)):
  case $HOSTNAME in
possible bashism in ./configure line 13330 ($HOST(TYPE|NAME)):
  ac_cv_path_HOSTNAME="$HOSTNAME" # Let the user override the test with a path.
possible bashism in ./configure line 13352 ($HOST(TYPE|NAME)):
if test -n "$HOSTNAME"; then
possible bashism in ./configure line 13353 ($HOST(TYPE|NAME)):
  { echo "$as_me:$LINENO: result: $HOSTNAME" >&5
possible bashism in ./configure line 13354 ($HOST(TYPE|NAME)):
echo "${ECHO_T}$HOSTNAME" >&6; }
possible bashism in ./contrib/check_mssql.sh line 38 (should be 'b = a'):
if [ ! "$#" == "4" ]; then
possible bashism in ./contrib/check_mssql.sh line 39 (echo -e):
        echo -e "\nYou did not supply enough arguments. \nUsage: $0 <host> <username> <password> <version> \n \n$0 checks Microsoft SQL Server connectivity. It works with versions 7 and 2000.\n\nYou need a working version of FreeTDS (http://www.freetds.org/) and tsql (included in FreeTDS 6.0+) to connect to the SQL server. \nIt was written by Tom De Blende (tom.deblende@village.uunet.be) in 2003. \n\nExample:\n $0 dbserver sa f00bar 2000\n" && exit "3"
possible bashism in ./contrib/check_mssql.sh line 41 (should be 'b = a'):
elif [ $tsqlcmd == "" ]; then
possible bashism in ./contrib/check_mssql.sh line 42 (echo -e):
	echo -e "tsql not found! Please verify you have a working version of tsql (included in the FreeTDS version 6.0+) and enter the full path in the script." && exit "3"
possible bashism in ./contrib/check_mssql.sh line 53 (should be 'b = a'):
if [ $srv == "7" ]; then
possible bashism in ./contrib/check_mssql.sh line 55 (should be 'b = a'):
elif [ $srv == "2000" ]; then
possible bashism in ./contrib/check_mssql.sh line 58 (echo -e):
	echo -e "$srv is not a supported MS SQL Server version!" && exit "3"
possible bashism in ./contrib/check_mssql.sh line 61 (echo -e):
echo -e "select loginame from sysprocesses where spid > $spid order by loginame asc\ngo" > $tmpfile
possible bashism in ./contrib/check_mssql.sh line 72 (should be 'b = a'):
if [ "$?" == "0" ]; then
possible bashism in ./contrib/check_mssql.sh line 80 (should be 'b = a'):
if [ "$?" == "0" ]; then
possible bashism in ./contrib/check_mssql.sh line 88 (should be 'b = a'):
if [ "$resultfileln" == "2" ]; then
possible bashism in ./contrib/check_axis.sh line 8 (should be 'b = a'):
if [ ! "$#" == "4" ]; then
possible bashism in ./contrib/check_axis.sh line 9 (echo -e):
	echo -e "\nYou did not supply enough command line arguments. \nUsage: ./check_axis.sh <host> <port> <username> <password> \n \nCheck_axis.sh checks the status of LPT ports on Axis print servers. \nIt was written by Tom De Blende (tom.deblende@village.uunet.be) in 2002. \n" && exit "3"
possible bashism in ./contrib/check_axis.sh line 15 (should be >word 2>&1):
ftp -in $box &>/dev/null <<EOF
possible bashism in ./contrib/check_axis.sh line 30 (should be 'b = a'):
if [ "$status" == "Printing" ]; then
possible bashism in ./contrib/check_axis.sh line 45 (should be 'b = a'):
if [ "$status" == "Available" ]; then
possible bashism in ./contrib/check_axis.sh line 46 (should be 'b = a'):
	if [ "$comments" == "Paper out" ]; then
possible bashism in ./contrib/check_axis.sh line 48 (should be 'b = a'):
        elif [ "$comments" == " " ]; then
possible bashism in ./contrib/check_axis.sh line 50 (should be 'b = a'):
	elif [ "$comments" == "No error" ]; then
possible bashism in ./contrib/check_axis.sh line 52 (should be 'b = a'):
        elif [ "$comments" == "Ready " ]; then
possible bashism in ./contrib/check_axis.sh line 54 (should be 'b = a'):
        elif [ "$comments" == "Off line" ]; then
possible bashism in ./contrib/check_axis.sh line 56 (should be 'b = a'):
        elif [ "$comments" == "Out of" ]; then
possible bashism in ./contrib/check_axis.sh line 58 (should be 'b = a'):
	elif [ "$comments" == "Busy Out" ]; then
possible bashism in ./contrib/check_axis.sh line 60 (should be 'b = a'):
        elif [ "$comments" == "Printer off-line" ]; then
possible bashism in ./contrib/check_axis.sh line 62 (should be 'b = a'):
        elif [ "$comments" == "Printer fault" ]; then
possible bashism in ./contrib/check_axis.sh line 67 (should be 'b = a'):
elif [ "$status" == "Printing" ]; then
possible bashism in ./contrib/check_axis.sh line 68 (should be 'b = a'):
	if [ "$comments" == "Printer busy" ]; then
possible bashism in ./contrib/check_axis.sh line 70 (should be 'b = a'):
        elif [ "$comments" == "No error" ]; then
possible bashism in ./contrib/check_axis.sh line 72 (should be 'b = a'):
	elif [ "$comments" == "Paper out" ]; then
possible bashism in ./contrib/check_axis.sh line 74 (should be 'b = a'):
        elif [ "$comments" == "Out of" ]; then
possible bashism in ./contrib/check_axis.sh line 76 (should be 'b = a'):
        elif [ "$comments" == "Busy Out" ]; then
possible bashism in ./contrib/check_axis.sh line 78 (should be 'b = a'):
	elif [ "$comments" == "Ready " ]; then
possible bashism in ./contrib/check_axis.sh line 80 (should be 'b = a'):
        elif [ "$comments" == "Printer off-line" ]; then
possible bashism in ./contrib/check_axis.sh line 82 (should be 'b = a'):
        elif [ "$comments" == "Busy " ]; then
possible bashism in ./contrib/check_axis.sh line 84 (should be 'b = a'):
	elif [ "$comments" == "Off line" ]; then
possible bashism in ./contrib/check_axis.sh line 86 (should be 'b = a'):
        elif [ "$comments" == "Printer fault" ]; then

This report was generated on Sun, 26 Dec 2010 00:10:54 +0000, based on results by checkbashisms 2.10.65git5