In /usr/bin/check-support-status line 8: . gettext.sh ^--------^ SC1091: Not following: gettext.sh was not specified as input (see shellcheck -x). In /usr/bin/check-support-status line 11: VERSION='11+2020.11.18' ^-----^ SC2034: VERSION appears unused. Verify use (or export if used externally). In /usr/bin/check-support-status line 19: DEBIAN_VERSION="$(cat /etc/debian_version | grep '[0-9.]' | cut -d. -f1)" ^-----------------^ SC2002: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead. In /usr/bin/check-support-status line 62: if [ $? != 0 ] ; then ^-- SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?. In /usr/bin/check-support-status line 167: trap "rm -rf '$TEMPDIR'" 0 ^------^ SC2064: Use single quotes, otherwise this expands now rather than when signalled. In /usr/bin/check-support-status line 192: cat "$INTERSECTION_LIST" | while read SRC_NAME ; do ^------------------^ SC2002: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead. ^--^ SC2162: read without -r will mangle backslashes. In /usr/bin/check-support-status line 199: if [ $(date -d $TMP_WHEN +"%Y%m%d") -gt $TODAY ] ; then ^----------------------------^ SC2046: Quote this to prevent word splitting. ^-------^ SC2086: Double quote to prevent globbing and word splitting. ^----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ $(date -d "$TMP_WHEN" +"%Y%m%d") -gt "$TODAY" ] ; then In /usr/bin/check-support-status line 216: if [ $(date -d $TMP_WHEN +"%Y%m%d") -le $TODAY ] ; then ^----------------------------^ SC2046: Quote this to prevent word splitting. ^-------^ SC2086: Double quote to prevent globbing and word splitting. ^----^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if [ $(date -d "$TMP_WHEN" +"%Y%m%d") -le "$TODAY" ] ; then In /usr/bin/check-support-status line 247: while read BIN_NAME BIN_VERSION ; do ^--^ SC2162: read without -r will mangle backslashes. In /usr/bin/check-support-status line 290: if [ $(find "$TD" -type f | wc -l) -eq 0 ] ; then ^---------------------------^ SC2046: Quote this to prevent word splitting. In /usr/bin/check-support-status line 349: if [ $(wc -l <"$f") -eq 1 ] ; then ^------------^ SC2046: Quote this to prevent word splitting. In /usr/bin/check-support-status line 354: cat "$f" | while read BIN_NAME BIN_VERSION ; do ^--^ SC2002: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead. ^--^ SC2162: read without -r will mangle backslashes. For more information: https://www.shellcheck.net/wiki/SC2034 -- VERSION appears unused. Verify us... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2064 -- Use single quotes, otherwise this...