In /usr/bin/annotate-output line 23:
progname=$(basename $0)
                    ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
progname=$(basename "$0")


In /usr/bin/annotate-output line 30:
	if [ ! -z "$line" ]; then
             ^-- SC2236: Use -n instead of ! -z.


In /usr/bin/annotate-output line 40:
	if [ ! -z "$line" ]; then
             ^-- SC2236: Use -n instead of ! -z.


In /usr/bin/annotate-output line 80:
trap 'exit $?' 1 2 13 15
                   ^-- SC2172: Trapping signals by number is not well defined. Prefer signal names.


In /usr/bin/annotate-output line 86:
mkfifo $OUT $ERR || exit 1
       ^--^ SC2086: Double quote to prevent globbing and word splitting.
            ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
mkfifo "$OUT" "$ERR" || exit 1


In /usr/bin/annotate-output line 89:
	addtime O < $OUT &
                    ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	addtime O < "$OUT" &


In /usr/bin/annotate-output line 90:
	addtime E < $ERR &
                    ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	addtime E < "$ERR" &


In /usr/bin/annotate-output line 94:
	addprefix "${FMT#+} O" < $OUT &
                                 ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	addprefix "${FMT#+} O" < "$OUT" &


In /usr/bin/annotate-output line 95:
	addprefix "${FMT#+} E" < $ERR &
                                 ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	addprefix "${FMT#+} E" < "$ERR" &


In /usr/bin/annotate-output line 98:
echo "Started $@" | addtime I
              ^-- SC2145: Argument mixes string and array. Use * or separate argument.


In /usr/bin/annotate-output line 99:
"$@" > $OUT 2> $ERR ; EXIT=$?
       ^--^ SC2086: Double quote to prevent globbing and word splitting.
               ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
"$@" > "$OUT" 2> "$ERR" ; EXIT=$?


In /usr/bin/annotate-output line 100:
rm -f $OUT $ERR
      ^--^ SC2086: Double quote to prevent globbing and word splitting.
           ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
rm -f "$OUT" "$ERR"

For more information:
  https://www.shellcheck.net/wiki/SC2145 -- Argument mixes string and array. ...
  https://www.shellcheck.net/wiki/SC2172 -- Trapping signals by number is not...
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...