In /usr/bin/dict_lookup line 33: D_UTF8_LOCALE=${D_UTF8_LOCALE-`locale -a |fgrep .utf8 | head -n 1`} ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. ^---^ SC2197: fgrep is non-standard and deprecated. Use grep -F instead. Did you mean: D_UTF8_LOCALE=${D_UTF8_LOCALE-$(locale -a |fgrep .utf8 | head -n 1)} In /usr/bin/dict_lookup line 63: LC_ALL=C $D_AWK_PROG -v h="$D_TERM_H" ' ^-- SC2016: Expressions don't expand in single quotes, use double quotes for that. In /usr/bin/dict_lookup line 78: query=`$D_XCLIP_PROG -o` ^----------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: query=$($D_XCLIP_PROG -o) In /usr/bin/dict_lookup line 137: shift `expr $OPTIND - 1` ^----------------^ SC2046: Quote this to prevent word splitting. ^----------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^--^ SC2003: expr is antiquated. Consider rewriting this using $((..)), ${} or [[ ]]. Did you mean: shift $(expr $OPTIND - 1) In /usr/bin/dict_lookup line 143: tmp_dir=`mktemp -d` ^---------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: tmp_dir=$(mktemp -d) In /usr/bin/dict_lookup line 145: trap "rm -rf $tmp_dir" 0 1 2 3 15 ^------^ SC2064: Use single quotes, otherwise this expands now rather than when signalled. In /usr/bin/dict_lookup line 155: TERM_WH=`$D_TEXT_WIDTH "$tmp_dir/res.txt"` ^-- SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: TERM_WH=$($D_TEXT_WIDTH "$tmp_dir/res.txt") In /usr/bin/dict_lookup line 162: LC_CTYPE=$D_UTF8_LOCALE $D_XTERM_PROG $geometry \ ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: LC_CTYPE=$D_UTF8_LOCALE $D_XTERM_PROG "$geometry" \ In /usr/bin/dict_lookup line 163: -u8 $D_XTERM_CLASS $D_XTERM_NAME $D_XTERM_TITLE \ ^------------^ SC2086: Double quote to prevent globbing and word splitting. ^-----------^ SC2086: Double quote to prevent globbing and word splitting. ^------------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: -u8 "$D_XTERM_CLASS" "$D_XTERM_NAME" "$D_XTERM_TITLE" \ For more information: https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2064 -- Use single quotes, otherwise this... https://www.shellcheck.net/wiki/SC2016 -- Expressions don't expand in singl...