In /usr/bin/pts-subscribe line 6: 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/pts-subscribe line 54: DEFAULT_PTS_UNTIL='now + 30 days' ^---------------^ SC2034: DEFAULT_PTS_UNTIL appears unused. Verify use (or export if used externally). In /usr/bin/pts-subscribe line 57: if [ "$1" = "--no-conf" -o "$1" = "--noconf" ]; then ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined. In /usr/bin/pts-subscribe line 69: eval $( ^-- SC2046: Quote this to prevent word splitting. In /usr/bin/pts-subscribe line 77: [ -r $file ] && . $file ^---^ SC1090: Can't follow non-constant source. Use a directive to specify location. In /usr/bin/pts-subscribe line 80: set | egrep '^PTS_') ^---^ SC2196: egrep is non-standard and deprecated. Use grep -E instead. In /usr/bin/pts-subscribe line 106: eval set -- $TEMP ^---^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: eval set -- "$TEMP" In /usr/bin/pts-subscribe line 152: DEBEMAIL=$(echo $DEBEMAIL | sed -s 's/^.*[ ]<\(.*\)>.*/\1/') ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: DEBEMAIL=$(echo "$DEBEMAIL" | sed -s 's/^.*[ ]<\(.*\)>.*/\1/') In /usr/bin/pts-subscribe line 158: if [ "$PTS_UNTIL" != forever -a "$PTS_UNTIL" != 0 ]; then ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined. In /usr/bin/pts-subscribe line 169: at $PTS_UNTIL 2>$TEMPFILE ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: at $PTS_UNTIL 2>"$TEMPFILE" In /usr/bin/pts-subscribe line 170: grep '^job ' $TEMPFILE | sed -e 's/^/Unsubscription will be sent by "at" as /' ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: grep '^job ' "$TEMPFILE" | sed -e 's/^/Unsubscription will be sent by "at" as /' For more information: https://www.shellcheck.net/wiki/SC1090 -- Can't follow non-constant source.... https://www.shellcheck.net/wiki/SC2034 -- DEFAULT_PTS_UNTIL appears unused.... https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...