Debian Automated Code Analysis

checkbashisms analysis of gnulib_20100704+stable-1.dsc

possible bashism in ./MODULES.html.sh line 1394 ($RANDOM):
    tmp=$TMPDIR/MD$$-$RANDOM
possible bashism in ./MODULES.html.sh line 1405 (should be VAR="${VAR}foo"):
if ( foo=bar; foo+=baz && test "$foo" = barbaz ) >/dev/null 2>&1; then
possible bashism in ./gnulib-tool line 102 (shopt):
    shopt -s expand_aliases >/dev/null 2>&1
possible bashism in ./gnulib-tool line 449 ($RANDOM):
    tmp=$TMPDIR/gl$$-$RANDOM
possible bashism in ./gnulib-tool line 460 (should be VAR="${VAR}foo"):
if ( foo=bar; foo+=baz && test "$foo" = barbaz ) >/dev/null 2>&1; then
possible bashism in ./gnulib-tool line 758 (shopt):
if test -z "$have_echo" \
   && test -n "$BASH_VERSION" \
   && (shopt -o xpg_echo; echo '\t' | grep t > /dev/null) 2>/dev/null; then
possible bashism in ./gnulib-tool line 759 (shopt):
  shopt -o xpg_echo
possible bashism in ./gnulib-tool line 1538 (declare):
  if (declare -A x && { x[f/2]='foo'; x[f/3]='bar'; eval test '${x[f/2]}' = foo; }) 2>/dev/null; then
possible bashism in ./gnulib-tool line 1549 (declare):
    declare -A modcache_cached
possible bashism in ./gnulib-tool line 1571 (${parm/?/pat[/str]}):
        cachevar=c_${1//[!a-zA-Z0-9_]/_}
possible bashism in ./gnulib-tool line 3063 (should be >word 2>&1):
          } >&$ofd
possible bashism in ./gnulib-tool line 5459 (alternative test command ([[ foo ]] should be [ foo ])):
        s,^.*AC_CONFIG_AUX_DIR([[ ]*\([^]"$`\\)]*\).*$,guessed_auxdir="\1",p
possible bashism in ./posix-modules line 192 ($RANDOM):
    tmp=$TMPDIR/gl$$-$RANDOM
possible bashism in ./build-aux/csharpcomp.sh.in line 58 ($RANDOM):
    tmp=$TMPDIR/gt$$-$RANDOM
possible bashism in ./.pc/01-gnulib-directory.patch/gnulib-tool line 102 (shopt):
    shopt -s expand_aliases >/dev/null 2>&1
possible bashism in ./.pc/01-gnulib-directory.patch/gnulib-tool line 449 ($RANDOM):
    tmp=$TMPDIR/gl$$-$RANDOM
possible bashism in ./.pc/01-gnulib-directory.patch/gnulib-tool line 460 (should be VAR="${VAR}foo"):
if ( foo=bar; foo+=baz && test "$foo" = barbaz ) >/dev/null 2>&1; then
possible bashism in ./.pc/01-gnulib-directory.patch/gnulib-tool line 758 (shopt):
if test -z "$have_echo" \
   && test -n "$BASH_VERSION" \
   && (shopt -o xpg_echo; echo '\t' | grep t > /dev/null) 2>/dev/null; then
possible bashism in ./.pc/01-gnulib-directory.patch/gnulib-tool line 759 (shopt):
  shopt -o xpg_echo
possible bashism in ./.pc/01-gnulib-directory.patch/gnulib-tool line 1538 (declare):
  if (declare -A x && { x[f/2]='foo'; x[f/3]='bar'; eval test '${x[f/2]}' = foo; }) 2>/dev/null; then
possible bashism in ./.pc/01-gnulib-directory.patch/gnulib-tool line 1549 (declare):
    declare -A modcache_cached
possible bashism in ./.pc/01-gnulib-directory.patch/gnulib-tool line 1571 (${parm/?/pat[/str]}):
        cachevar=c_${1//[!a-zA-Z0-9_]/_}
possible bashism in ./.pc/01-gnulib-directory.patch/gnulib-tool line 3063 (should be >word 2>&1):
          } >&$ofd
possible bashism in ./.pc/01-gnulib-directory.patch/gnulib-tool line 5459 (alternative test command ([[ foo ]] should be [ foo ])):
        s,^.*AC_CONFIG_AUX_DIR([[ ]*\([^]"$`\\)]*\).*$,guessed_auxdir="\1",p
possible bashism in ./tests/test-copy-acl.sh line 34 ($RANDOM):
    tmp=$TMPDIR/gl$$-$RANDOM
possible bashism in ./tests/test-copy-file.sh line 28 ($RANDOM):
    tmp=$TMPDIR/gl$$-$RANDOM
possible bashism in ./tests/test-set-mode-acl.sh line 34 ($RANDOM):
    tmp=$TMPDIR/gl$$-$RANDOM
possible bashism in ./tests/test-parse-duration.sh line 33 ($RANDOM):
    tmp=$TMPDIR/gl$$-$RANDOM
possible bashism in ./tests/test-file-has-acl.sh line 34 ($RANDOM):
    tmp=$TMPDIR/gl$$-$RANDOM

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