In /usr/bin/deb-reversion line 55: echo "${PREFIX}: $PROGNAME: $@" >&2 ^-- SC2145: Argument mixes string and array. Use * or separate argument. In /usr/bin/deb-reversion line 66: eval set -- "$(getopt -s bash -o $SHORTOPTS -l $LONGOPTS -n $PROGNAME -- "$@")" ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: eval set -- "$(getopt -s bash -o $SHORTOPTS -l $LONGOPTS -n "$PROGNAME" -- "$@")" In /usr/bin/deb-reversion line 132: mkdir -p ${TMPDIR}/package ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: mkdir -p "${TMPDIR}"/package In /usr/bin/deb-reversion line 138: dpkg-deb $DPKGDEB_DEBUG --extract $1 . ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: dpkg-deb $DPKGDEB_DEBUG --extract "$1" . In /usr/bin/deb-reversion line 139: dpkg-deb $DPKGDEB_DEBUG --control $1 DEBIAN ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: dpkg-deb $DPKGDEB_DEBUG --control "$1" DEBIAN In /usr/bin/deb-reversion line 144: dpkg --info $1 | sed -ne 's,^[[:space:]]Version: ,,p' ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: dpkg --info "$1" | sed -ne 's,^[[:space:]]Version: ,,p' In /usr/bin/deb-reversion line 152: echo ${1%${VERSTR}*}${VERSTR}$((++REV));; ^-------------^ SC2086: Double quote to prevent globbing and word splitting. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "${1%${VERSTR}*}""${VERSTR}"$((++REV));; In /usr/bin/deb-reversion line 154: echo ${1}${VERSTR}1;; ^--^ SC2086: Double quote to prevent globbing and word splitting. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "${1}""${VERSTR}"1;; In /usr/bin/deb-reversion line 156: echo ${1}-0${VERSTR}1;; ^--^ SC2086: Double quote to prevent globbing and word splitting. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "${1}"-0"${VERSTR}"1;; In /usr/bin/deb-reversion line 176: [ -f usr/share/doc/${PACKAGE}/$i ] \ ^--------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: [ -f usr/share/doc/"${PACKAGE}"/$i ] \ In /usr/bin/deb-reversion line 183: dch $DCH_OPTIONS -v "$VERSION" -- "$@" ^----------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: dch "$DCH_OPTIONS" -v "$VERSION" -- "$@" In /usr/bin/deb-reversion line 205: mv $debfile $udebfile ^------^ SC2086: Double quote to prevent globbing and word splitting. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: mv "$debfile" "$udebfile" In /usr/bin/deb-reversion line 206: echo $udebfile ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "$udebfile" In /usr/bin/deb-reversion line 208: echo $debfile ^------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "$debfile" In /usr/bin/deb-reversion line 212: [ -z "${OLD_VERSION:-}" ] && OLD_VERSION="$(get_version $DEB)" ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: [ -z "${OLD_VERSION:-}" ] && OLD_VERSION="$(get_version "$DEB")" In /usr/bin/deb-reversion line 213: [ -z "${NEW_VERSION:-}" ] && NEW_VERSION="$(bump_version $OLD_VERSION)" ^----------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: [ -z "${NEW_VERSION:-}" ] && NEW_VERSION="$(bump_version "$OLD_VERSION")" In /usr/bin/deb-reversion line 216: echo $NEW_VERSION ^----------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: echo "$NEW_VERSION" In /usr/bin/deb-reversion line 220: if [ $(id -u) -ne 0 ]; then ^------^ SC2046: Quote this to prevent word splitting. In /usr/bin/deb-reversion line 228: DEB_TYPE=$(echo "$DEB"|sed 's/.*[.]//') ^-------------------------^ SC2001: See if you can use ${variable//search/replace} instead. For more information: https://www.shellcheck.net/wiki/SC2145 -- Argument mixes string and array. ... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...