In /usr/bin/xzmore line 37: oldtty=`stty -g 2>/dev/null` ^-------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: oldtty=$(stty -g 2>/dev/null) In /usr/bin/xzmore line 45: trap 'stty $oldtty 2>/dev/null; exit' 0 2 3 5 10 13 15 ^-- SC2172: Trapping signals by number is not well defined. Prefer signal names. ^-- SC2172: Trapping signals by number is not well defined. Prefer signal names. ^-- SC2172: Trapping signals by number is not well defined. Prefer signal names. In /usr/bin/xzmore line 47: trap 'stty $ncb echo 2>/dev/null; exit' 0 2 3 5 10 13 15 ^-- SC2172: Trapping signals by number is not well defined. Prefer signal names. ^-- SC2172: Trapping signals by number is not well defined. Prefer signal names. ^-- SC2172: Trapping signals by number is not well defined. Prefer signal names. In /usr/bin/xzmore line 59: < "$FILE" || continue ^-------^ SC2188: This redirection doesn't have a command. Move to its command (or use 'true' as no-op). In /usr/bin/xzmore line 62: stty $cb -echo 2>/dev/null ^-^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: stty "$cb" -echo 2>/dev/null In /usr/bin/xzmore line 63: ANS=`dd bs=1 count=1 2>/dev/null` ^---------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`. Did you mean: ANS=$(dd bs=1 count=1 2>/dev/null) In /usr/bin/xzmore line 64: stty $ncb echo 2>/dev/null ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: stty "$ncb" echo 2>/dev/null For more information: https://www.shellcheck.net/wiki/SC2172 -- Trapping signals by number is not... https://www.shellcheck.net/wiki/SC2188 -- This redirection doesn't have a c... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...