Package: gt5
Version: 1.4.0-1
Severity: important

checkbashisms reports some error with gt5.

linda:/usr/bin$checkbashisms /usr/bin/gt5.save
possible bashism in /usr/bin/gt5.save line 24 (should be >word 2>&1):
which which &> /dev/null || { echo "ERROR: 'which' not found"; exit; }
possible bashism in /usr/bin/gt5.save line 99 ($RANDOM):
    dir="/tmp/gt5.$$.$RANDOM"
possible bashism in /usr/bin/gt5.save line 105 (trap with signal numbers):
trap "rm -rf \"$ESCAPED_TMP\"" 0 15
possible bashism in /usr/bin/gt5.save line 107 ($RANDOM):
SPACE="_escaped_${RANDOM}_space_"
possible bashism in /usr/bin/gt5.save line 108 ($RANDOM):
TAB="_escaped_${RANDOM}_tab_"
possible bashism in /usr/bin/gt5.save line 199 (should be 'b = a'):
      [ "$(gt5_substr "$2" 1 1)" == "/" ] && SAVE="$2" || SAVE="$PWD/$2"
possible bashism in /usr/bin/gt5.save line 258 (should be 'b = a'):
  [ "$F1" == "$DDIR/" ] && F1="$DDIR/_,"
possible bashism in /usr/bin/gt5.save line 265 ($HOST(TYPE|NAME)):
[ "$CD" ] && P="$HOSTNAME:$PWD" || P="file: $F1"
possible bashism in /usr/bin/gt5.save line 280 ($SECONDS):
    ID=$((ID+1)); echo "done ${SAVE:+[${SECONDS}s]}" 1>&2

Best regards,

    Gonéri

Attachment: signature.asc
Description: Digital signature

Reply via email to