Debian Automated Code Analysis

checkbashisms analysis of grass_6.4.0~rc6+42329-3.dsc

script ./gui/tcltk/d.m/d.m appears to be a shell wrapper; only checking the first 21 lines
possible bashism in ./gui/tcltk/d.m/d.m line 13 ($HOST(TYPE|NAME)):
	if [ "$HOSTTYPE" = "macintosh" -o "$HOSTTYPE" = "powermac" -o "$HOSTTYPE" = "powerpc" -o "$HOSTTYPE" = "intel-pc" ] ; then
possible bashism in ./tools/g51.extract_description.sh line 19 (should be 'b = a'):
if [ "$CUTLINE" == "" ] ; then
possible bashism in ./lib/vector/dglib/examples/rtest03.sh line 84 ('function' is useless):
function check_path () {
possible bashism in ./lib/vector/dglib/examples/rtest03.sh line 96 (bash arrays, ${name[0|*|@]}):
	test "${vlist[10]}" = "unreachable" && {
possible bashism in ./lib/vector/dglib/examples/rtest03.sh line 99 (bash arrays, ${name[0|*|@]}):
	test "${vlist[12]}" = "$nLinks" || {
possible bashism in ./lib/vector/dglib/examples/rtest03.sh line 100 (bash arrays, ${name[0|*|@]}):
		echo "link count is ${vlist[12]} instead of $nLinks - test failed"; exit 1
possible bashism in ./lib/vector/dglib/examples/rtest03.sh line 102 (bash arrays, ${name[0|*|@]}):
	test "${vlist[16]}" = "$totDistance" || {
possible bashism in ./lib/vector/dglib/examples/rtest03.sh line 103 (bash arrays, ${name[0|*|@]}):
		echo "total distance is ${vlist[16]} instead of $totDistance - test failed"; exit 1
possible bashism in ./lib/vector/dglib/examples/rtest03.sh line 109 ('((' should be '$(('):
	for (( iLink=0 ; iLink < $nLinks ; iLink++ ))
possible bashism in ./lib/vector/dglib/examples/rtest03.sh line 114 (let ...):
		let i=i+2
possible bashism in ./lib/vector/dglib/examples/rtest03.sh line 115 (let ...):
		let iNodeList=iNodeList+1
possible bashism in ./lib/vector/dglib/examples/rtest03.sh line 119 (let ...):
		let i=i+17
possible bashism in ./lib/vector/dglib/examples/rtest03.sh line 120 (let ...):
		let iNodeList=iNodeList+1
possible bashism in ./lib/init/grass-run.src line 10 (echo -e):
   echo -e "\033]0;${TITLE}\007\c"
possible bashism in ./lib/init/init.sh line 378 ($HOST(TYPE|NAME)):
if [ "$HOSTTYPE" = "arm" ] ; then

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