In /usr/bin/figlist line 10: DIR=`dirname $0` ^----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: DIR=$(dirname "$0") In /usr/bin/figlist line 14: FIGLETVERSION=`$FIGLET -I1 2>/dev/null` ^-----------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: FIGLETVERSION=$($FIGLET -I1 2>/dev/null) In /usr/bin/figlist line 19: USAGE="Usage: `basename $0` [ -d directory ]" ^-----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: USAGE="Usage: $(basename "$0") [ -d directory ]" In /usr/bin/figlist line 37: $FIGLET $FONTDIROPT -F ^---------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: $FIGLET "$FONTDIROPT" -F In /usr/bin/figlist line 43: FONTDIR=`$FIGLET $FONTDIROPT -I2` ^-----------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^---------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: FONTDIR=$($FIGLET "$FONTDIROPT" -I2) In /usr/bin/figlist line 44: FONT=`$FIGLET -I3` ^-----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: FONT=$($FIGLET -I3) In /usr/bin/figlist line 49: cd "$FONTDIR" ^-----------^ SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails. Did you mean: cd "$FONTDIR" || exit In /usr/bin/figlist line 50: if ls *.flf >/dev/null 2>&1 ; then ^-- SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options. In /usr/bin/figlist line 52: ls *.flf 2>/dev/null | sed s/\.flf$// ^------------------^ SC2012: Use find instead of ls to better handle non-alphanumeric filenames. ^-- SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options. In /usr/bin/figlist line 56: if ls *.flc >/dev/null 2>&1 ; then ^-- SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options. In /usr/bin/figlist line 58: ls *.flc 2>/dev/null | sed s/\.flc$// ^------------------^ SC2012: Use find instead of ls to better handle non-alphanumeric filenames. ^-- SC2035: Use ./*glob* or -- *glob* so names with dashes won't become options. For more information: https://www.shellcheck.net/wiki/SC2164 -- Use 'cd ... || exit' or 'cd ... |... https://www.shellcheck.net/wiki/SC2012 -- Use find instead of ls to better ... https://www.shellcheck.net/wiki/SC2035 -- Use ./*glob* or -- *glob* so name...