Debian Automated Code Analysis

checkbashisms analysis of brltty_4.2-6.dsc

possible bashism in ./Programs/brltty-genkey line 58 ($RANDOM):
key="${RANDOM}"
possible bashism in ./Programs/brltty-install line 64 (test with unary -a (should be -e)):
      elif [ -a "${1}/${f}" ]
possible bashism in ./mkwin line 111 ($'...' should be "$(printf '...')"):
  sed -e 's/'$'\033''\[[0-9]*m//g' -e 's/$/'$'\015'/ < "$1" > "$2"
possible bashism in ./mkwin line 145 (${parm/?/pat[/str]}):
  target="${i/%[13]}"txt
possible bashism in ./mkwin line 146 ($'...' should be "$(printf '...')"):
  groff -T ascii -mandoc 2> /dev/null < "$i" | sed -e 's/'$'\033''\[[0-9]*m//g' > "$target"
possible bashism in ./mkwin line 150 ($'...' should be "$(printf '...')"):
sed -e 's/$/'$'\015''/' > "${installRoot}/README.first.txt" << EOF
possible bashism in ./mkwin line 173 ($'...' should be "$(printf '...')"):
sed -e 's/$/'$'\015''/' > "${installRoot}/install.bat" << EOF
possible bashism in ./mkwin line 179 ($'...' should be "$(printf '...')"):
sed -e 's/$/'$'\015''/' > "${installRoot}/uninstall.bat" << EOF
possible bashism in ./mkwin line 185 ($'...' should be "$(printf '...')"):
sed -e 's/$/'$'\015''/' > "${installRoot}/run-debug.bat" << EOF
possible bashism in ./mkwin line 212 ($'...' should be "$(printf '...')"):
sed -e 's/$/'$'\015''/' > "${installRoot}/README.first.txt" << EOF

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