In /usr/bin/dcmd line 36: PROGNAME=`basename $0` ^-----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: PROGNAME=$(basename "$0") In /usr/bin/dcmd line 49: printf "Usage: %s [options] [command] [dsc or changes file] [...]\n" $PROGNAME ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: printf "Usage: %s [options] [command] [dsc or changes file] [...]\n" "$PROGNAME" In /usr/bin/dcmd line 67: local dir ^-------^ SC2039: In POSIX sh, 'local' is undefined. In /usr/bin/dcmd line 68: local sedre ^---------^ SC2039: In POSIX sh, 'local' is undefined. In /usr/bin/dcmd line 121: changes) [ "$FILTERED" = "1" ] && ^-- SC2015: Note that A && B || C is not if-then-else. C may run when A is true. In /usr/bin/dcmd line 126: deb) [ "$FILTERED" = "1" ] && ^-- SC2015: Note that A && B || C is not if-then-else. C may run when A is true. In /usr/bin/dcmd line 131: udeb) [ "$FILTERED" = "1" ] && ^-- SC2015: Note that A && B || C is not if-then-else. C may run when A is true. In /usr/bin/dcmd line 159: SEEN_INDEPUDEB=0; SEEN_ARCHUDEB=0; SEEN_UDEB=0; ^-------^ SC2034: SEEN_UDEB appears unused. Verify use (or export if used externally). In /usr/bin/dcmd line 165: eval "$(echo "$temparg" | while read THISARG; do ^--^ SC2162: read without -r will mangle backslashes. In /usr/bin/dcmd line 324: echo $arg ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "$arg" In /usr/bin/dcmd line 329: exec $cmd $args ^--^ SC2086: Double quote to prevent globbing and word splitting. ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: exec "$cmd" "$args" For more information: https://www.shellcheck.net/wiki/SC2034 -- SEEN_UDEB appears unused. Verify ... https://www.shellcheck.net/wiki/SC2039 -- In POSIX sh, 'local' is undefined. https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t...