Debian Automated Code Analysis

checkbashisms analysis of w-scan_20110410-1.dsc

possible bashism in ./w_scan_start.sh line 69 (echo -e):
	echo -e "$CURS_UP$SET_COL"["$SUCCESS""    OK    ""$NORMAL"]
possible bashism in ./w_scan_start.sh line 74 (echo -e):
	echo -e "$CURS_UP$SET_COL"["$FAILURE""  FAILED  ""$NORMAL"]
possible bashism in ./w_scan_start.sh line 79 (echo -e):
	echo -e "$CURS_UP$SET_WCOL$@$SET_COL"["$WARNING""   WARN   ""$NORMAL"]
possible bashism in ./w_scan_start.sh line 84 (echo -e):
	echo -e "$CURS_UP$SET_COL"["$SUCCESS""    YES   ""$NORMAL"]
possible bashism in ./w_scan_start.sh line 89 (echo -e):
	echo -e "$CURS_UP$SET_COL"["$SUCCESS""    NO    ""$NORMAL"]
possible bashism in ./w_scan_start.sh line 94 (echo -e):
	echo -e "$CURS_UP$SET_COL"["$SUCCESS""  LOADED  ""$NORMAL"]
possible bashism in ./w_scan_start.sh line 99 (echo -e):
	echo -e "$CURS_UP$SET_COL"["$FAILURE""NOT LOADED""$NORMAL"]
possible bashism in ./w_scan_start.sh line 104 (echo -e):
	echo -e -n $FAILURE
possible bashism in ./w_scan_start.sh line 111 (echo -e):
	echo -e -n $NORMAL && tput sgr0
possible bashism in ./w_scan_start.sh line 113 (echo -e):
	echo -e -n $NORMAL
possible bashism in ./w_scan_start.sh line 119 (echo -e):
		echo -e -n $FAILURE
possible bashism in ./w_scan_start.sh line 122 (echo -e):
		echo -e -n $NORMAL
possible bashism in ./w_scan_start.sh line 126 (echo -e):
		echo -e -n $FAILURE
possible bashism in ./w_scan_start.sh line 129 (echo -e):
		echo -e -n $NORMAL
possible bashism in ./w_scan_start.sh line 133 (echo -e):
		echo -e -n $FAILURE
possible bashism in ./w_scan_start.sh line 136 (echo -e):
		echo -e -n $NORMAL
possible bashism in ./w_scan_start.sh line 140 (echo -e):
		echo -e -n $FAILURE
possible bashism in ./w_scan_start.sh line 143 (echo -e):
		echo -e -n $NORMAL
possible bashism in ./w_scan_start.sh line 151 (echo -e):
		echo -e -n $FAILURE
possible bashism in ./w_scan_start.sh line 157 (echo -e):
		echo -e -n $NORMAL
possible bashism in ./w_scan_start.sh line 202 ('function' is useless):
function Greeting ()
possible bashism in ./w_scan_start.sh line 205 (echo -e):
	echo -e -n $SUCCESS
possible bashism in ./w_scan_start.sh line 207 (echo -e):
	echo -e "THIS IS THE ""\\033[44m"" W_SCAN START SCRIPT ""\\033[40m$SUCCESS"" (see http://wirbel.htpc-forum.de/w_scan/index2.html)"
possible bashism in ./w_scan_start.sh line 218 (echo -e):
	echo -e -n $NORMAL && tput sgr0
possible bashism in ./w_scan_start.sh line 219 (read without variable):
	read
possible bashism in ./w_scan_start.sh line 220 (echo -e):
	echo -e -n $NORMAL
possible bashism in ./w_scan_start.sh line 225 ('function' is useless):
function StopVDR ()
possible bashism in ./w_scan_start.sh line 230 (echo -e):
	echo -e -n $FAILURE
possible bashism in ./w_scan_start.sh line 237 (echo -e):
	echo -e -n $NORMAL && tput sgr0
possible bashism in ./w_scan_start.sh line 239 (echo -e):
	echo -e -n $NORMAL
possible bashism in ./w_scan_start.sh line 256 (should be 'b = a'):
		if [ $stopped == false ]; then
possible bashism in ./w_scan_start.sh line 266 (should be 'b = a'):
		if [ $stopped == false ]; then
possible bashism in ./w_scan_start.sh line 282 (should be 'b = a'):
		if [ $stopped == false ]; then
possible bashism in ./w_scan_start.sh line 298 (should be 'b = a'):
		if [ $stopped == false ]; then
possible bashism in ./w_scan_start.sh line 321 ('function' is useless):
function StartVDR ()
possible bashism in ./w_scan_start.sh line 323 (echo -e):
    echo -e -n $SUCCESS
possible bashism in ./w_scan_start.sh line 330 (echo -e):
    echo -e -n $NORMAL && tput sgr0
possible bashism in ./w_scan_start.sh line 332 (echo -e):
    echo -e -n $NORMAL
possible bashism in ./w_scan_start.sh line 334 (echo -e):
		echo -n -e "\\033[1;34m"
possible bashism in ./w_scan_start.sh line 339 (echo -e):
		echo -e -n $NORMAL
possible bashism in ./w_scan_start.sh line 347 (should be 'b = a'):
		if [ $started == false ]; then
possible bashism in ./w_scan_start.sh line 353 (should be 'b = a'):
		if [ $started == false ]; then
possible bashism in ./w_scan_start.sh line 366 (should be 'b = a'):
		if [ $started == true ]; then
possible bashism in ./w_scan_start.sh line 380 (echo -e):
		echo -n -e "\\033[1;34m"
possible bashism in ./w_scan_start.sh line 385 (echo -e):
		echo -e -n $NORMAL
possible bashism in ./w_scan_start.sh line 390 ('function' is useless):
function LoadDriver ()
possible bashism in ./w_scan_start.sh line 445 (should be 'b = a'):
	  if [ $DEBUG_LOADDRIVER == true ]; then
possible bashism in ./w_scan_start.sh line 447 (${foo:3[:1]}):
		  if [ "${line:0:4}" == "$class" ]; then
possible bashism in ./w_scan_start.sh line 447 (should be 'b = a'):
		  if [ "${line:0:4}" == "$class" ]; then
possible bashism in ./w_scan_start.sh line 448 (${foo:3[:1]}):
		    class_name=${line:6:40}
possible bashism in ./w_scan_start.sh line 453 (${foo:3[:1]}):
		  if [ "${line:0:4}" == "$idVendor" ]; then
possible bashism in ./w_scan_start.sh line 453 (should be 'b = a'):
		  if [ "${line:0:4}" == "$idVendor" ]; then
possible bashism in ./w_scan_start.sh line 454 (${foo:3[:1]}):
		    vendor_name=${line:6:80}
possible bashism in ./w_scan_start.sh line 456 (${foo:3[:1]}):
		      if [ "${line:0:6}" == "||$idProduct" ]; then
possible bashism in ./w_scan_start.sh line 456 (should be 'b = a'):
		      if [ "${line:0:6}" == "||$idProduct" ]; then
possible bashism in ./w_scan_start.sh line 457 (${foo:3[:1]}):
		        device_name=${line:8:80}
possible bashism in ./w_scan_start.sh line 459 (${foo:3[:1]}):
		      if [ "${line:0:2}" != "||" ]; then # next pci id
possible bashism in ./w_scan_start.sh line 472 (should be 'b = a'):
	      if [ "$id" == "usb module" ]; then
possible bashism in ./w_scan_start.sh line 473 (${foo:3[:1]}):
	        d=${data:0:21}
possible bashism in ./w_scan_start.sh line 475 (should be 'b = a'):
	      if [ "$id" == "idVendor" ]; then
possible bashism in ./w_scan_start.sh line 476 (${foo:3[:1]}):
	        if [ "${data:35:4}" != "$idVendor" ]; then
possible bashism in ./w_scan_start.sh line 480 (should be 'b = a'):
	      if [ "$id" == "idProduct" ]; then
possible bashism in ./w_scan_start.sh line 481 (${foo:3[:1]}):
	        if [ "${data:44:4}" != "$idProduct" ] && [ "${data:45:4}" != "ffff" ]; then
possible bashism in ./w_scan_start.sh line 492 (should be 'b = a'):
	  if [ $DEBUG_LOADDRIVER == true ]; then
possible bashism in ./w_scan_start.sh line 519 (${foo:3[:1]}):
	  if 	[ "${class:2:4}" != "0480" ] &&
possible bashism in ./w_scan_start.sh line 520 (${foo:3[:1]}):
		[ "${class:2:4}" != "0400" ] &&
possible bashism in ./w_scan_start.sh line 521 (${foo:3[:1]}):
		[ "${class:2:4}" != "0280" ]; then
possible bashism in ./w_scan_start.sh line 538 (should be 'b = a'):
	  if [ $DEBUG_LOADDRIVER == true ]; then
possible bashism in ./w_scan_start.sh line 540 (${foo:3[:1]}):
		  if [ "${line:0:4}" == "${class:2:4}" ]; then
possible bashism in ./w_scan_start.sh line 540 (should be 'b = a'):
		  if [ "${line:0:4}" == "${class:2:4}" ]; then
possible bashism in ./w_scan_start.sh line 541 (${foo:3[:1]}):
		  class_name=${line:5:40}
possible bashism in ./w_scan_start.sh line 546 (${foo:3[:1]}):
		  if [ "${line:0:4}" == "${vendor:2:4}" ]; then
possible bashism in ./w_scan_start.sh line 546 (should be 'b = a'):
		  if [ "${line:0:4}" == "${vendor:2:4}" ]; then
possible bashism in ./w_scan_start.sh line 547 (${foo:3[:1]}):
		  vendor_name=${line:5:80}
possible bashism in ./w_scan_start.sh line 549 (${foo:3[:1]}):
		    if [ "${line:0:6}" == "||${device:2:4}" ]; then
possible bashism in ./w_scan_start.sh line 549 (should be 'b = a'):
		    if [ "${line:0:6}" == "||${device:2:4}" ]; then
possible bashism in ./w_scan_start.sh line 550 (${foo:3[:1]}):
		      device_name=${line:7:80}
possible bashism in ./w_scan_start.sh line 552 (${foo:3[:1]}):
		    if [ "${line:0:2}" != "||" ]; then # next pci id
possible bashism in ./w_scan_start.sh line 560 (${foo:3[:1]}):
		  if [ "${line:0:4}" == "${subvendor:2:4}" ]; then
possible bashism in ./w_scan_start.sh line 560 (should be 'b = a'):
		  if [ "${line:0:4}" == "${subvendor:2:4}" ]; then
possible bashism in ./w_scan_start.sh line 561 (${foo:3[:1]}):
		    subvendor_name=${line:5:80}
possible bashism in ./w_scan_start.sh line 569 (should be 'b = a'):
	      if [ "$id" == "pci module" ]; then
possible bashism in ./w_scan_start.sh line 570 (${foo:3[:1]}):
	        d=${data:0:21}
possible bashism in ./w_scan_start.sh line 572 (should be 'b = a'):
	      if [ "$id" == "vendor" ]; then
possible bashism in ./w_scan_start.sh line 573 (${foo:3[:1]}):
	        if [ "${data:27:4}" != "${vendor:2:4}" ]; then
possible bashism in ./w_scan_start.sh line 577 (should be 'b = a'):
	      if [ "$id" == "device" ]; then
possible bashism in ./w_scan_start.sh line 578 (${foo:3[:1]}):
	        if [ "${data:38:4}" != "${device:2:4}" ] && [ "${data:38:4}" != "ffff" ]; then
possible bashism in ./w_scan_start.sh line 582 (should be 'b = a'):
	      if [ "$id" == "subvendor" ]; then
possible bashism in ./w_scan_start.sh line 583 (${foo:3[:1]}):
	        if [ "${data:49:4}" != "${subvendor:2:4}" ] && [ "${data:49:4}" != "ffff" ]; then
possible bashism in ./w_scan_start.sh line 587 (should be 'b = a'):
	      if [ "$id" == "subdevice" ]; then
possible bashism in ./w_scan_start.sh line 588 (${foo:3[:1]}):
	        if [ "${data:60:4}" != "${subdevice:2:4}" ] && [ "${data:60:4}" != "ffff" ]; then
possible bashism in ./w_scan_start.sh line 599 (should be 'b = a'):
	  if [ $DEBUG_LOADDRIVER == true ]; then
possible bashism in ./w_scan_start.sh line 606 (${foo:3[:1]}):
	    echo "class:		${class:0:6}	($class_name)"
possible bashism in ./w_scan_start.sh line 624 (should be 'b = a'):
	    if [ "$n" == "$m" ]; then
possible bashism in ./w_scan_start.sh line 629 (should be 'b = a'):
	  if [ $blacklisted == false ]; then
possible bashism in ./w_scan_start.sh line 635 (should be 'b = a'):
		  if [ "$PATTERN" == "$ml" ]; then
possible bashism in ./w_scan_start.sh line 640 (should be 'b = a'):
		if [ $module_loaded == false ]; then
possible bashism in ./w_scan_start.sh line 657 ('function' is useless):
function DoScan ()
possible bashism in ./w_scan_start.sh line 665 (${foo:3[:1]}):
	if [ ${WHAT_TO_SCAN:0:2} != 0 ]; then
possible bashism in ./w_scan_start.sh line 671 (${foo:3[:1]}):
	if [ ${WHAT_TO_SCAN:3:2} != 0 ]; then
possible bashism in ./w_scan_start.sh line 676 (echo -e):
	echo -e -n $SUCCESS
possible bashism in ./w_scan_start.sh line 683 (echo -e):
	echo -e -n $NORMAL && tput sgr0
possible bashism in ./w_scan_start.sh line 684 (read without variable):
	read
possible bashism in ./w_scan_start.sh line 685 (echo -e):
	echo -e -n $NORMAL
possible bashism in ./w_scan_start.sh line 686 (echo -e):
	echo -e -n "\\033[1;34m"
possible bashism in ./w_scan_start.sh line 687 (${foo:3[:1]}):
	if [ ${WHAT_TO_SCAN:0:2} != 0 ]; then
possible bashism in ./w_scan_start.sh line 690 (${foo:3[:1]}):
	if [ ${WHAT_TO_SCAN:3:2} != 0 ]; then 
possible bashism in ./w_scan_start.sh line 693 (echo -e):
	echo -e -n $NORMAL
possible bashism in ./w_scan_start.sh line 696 ('function' is useless):
function CopyConf ()
possible bashism in ./w_scan_start.sh line 700 (echo -e):
		echo -e -n $SUCCESS
possible bashism in ./w_scan_start.sh line 704 (echo -e):
		echo -e "* The output file is called "$FAILURE"channels.conf-$DATE"$SUCCESS".            *"
possible bashism in ./w_scan_start.sh line 708 (echo -e):
		echo -e -n $NORMAL && tput sgr0
possible bashism in ./w_scan_start.sh line 710 (echo -e):
		echo -e -n $NORMAL
possible bashism in ./w_scan_start.sh line 714 (echo -e):
			echo -n -e "\\033[1;34m"
possible bashism in ./w_scan_start.sh line 717 (echo -e):
			echo -e -n $NORMAL
possible bashism in ./w_scan_start.sh line 730 (echo -e):
		echo -e -n $FAILURE
possible bashism in ./w_scan_start.sh line 743 (echo -e):
		echo -e -n $NORMAL
possible bashism in ./w_scan_start.sh line 744 (read without variable):
		read
possible bashism in ./w_scan_start.sh line 754 (echo -e):
echo -e -n $NORMAL

This report was generated on Fri, 15 Apr 2011 06:38:34 +0000, based on results by checkbashisms 2.10.65git5