In /usr/bin/traceproto.db line 41:
PARSED=`getopt 'cCTfAhvRp:d:D:s:S:m:M:w:W:a:P:F:k:I:H:i:o:t:' "$@"`
       ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
PARSED=$(getopt 'cCTfAhvRp:d:D:s:S:m:M:w:W:a:P:F:k:I:H:i:o:t:' "$@")


In /usr/bin/traceproto.db line 42:
[ $? != 0 ] && exit 2
  ^-- SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.


In /usr/bin/traceproto.db line 63:
	-o)  [ $2 != "c" ] && warning $1; shift 2 ;;
               ^-- SC2086: Double quote to prevent globbing and word splitting.
                                      ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	-o)  [ "$2" != "c" ] && warning "$1"; shift 2 ;;


In /usr/bin/traceproto.db line 89:
	-[DSaki])  warning $1; shift 2 ;;
                           ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	-[DSaki])  warning "$1"; shift 2 ;;


In /usr/bin/traceproto.db line 90:
	-[TCR])  warning $1; shift ;;
                         ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
	-[TCR])  warning "$1"; shift ;;


In /usr/bin/traceproto.db line 113:
[ -n "$TP_OUTPUT_STYLE" -a "$TP_OUTPUT_STYLE" != "classic" ] && {
                        ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.


In /usr/bin/traceproto.db line 117:
[ -n "$TP_RA_SERVER" -a -z "$RA_SERVER" ] && RA_SERVER=$TP_RA_SERVER
                     ^-- SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.


In /usr/bin/traceproto.db line 120:
[ -z "$cont" ] && exec traceroute $opts $host $length
                                  ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                        ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                              ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
[ -z "$cont" ] && exec traceroute "$opts" "$host" "$length"


In /usr/bin/traceproto.db line 124:
    cont=$(($cont - 1))
            ^---^ SC2004: $/${} is unnecessary on arithmetic variables.


In /usr/bin/traceproto.db line 125:
    /usr/bin/traceroute.db $opts $host $length
                           ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                 ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                       ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    /usr/bin/traceroute.db "$opts" "$host" "$length"

For more information:
  https://www.shellcheck.net/wiki/SC2166 -- Prefer [ p ] && [ q ] as [ p -a q...
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
  https://www.shellcheck.net/wiki/SC2004 -- $/${} is unnecessary on arithmeti...