In /usr/bin/fakeroot-tcp line 19:
  local i
  ^-----^ SC2039: In POSIX sh, 'local' is undefined.


In /usr/bin/fakeroot-tcp line 46:
GETOPTTEST=`getopt -T`
^--------^ SC2034: GETOPTTEST appears unused. Verify use (or export if used externally).
           ^---------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
GETOPTTEST=$(getopt -T)


In /usr/bin/fakeroot-tcp line 48:
    FAKE_TEMP=`getopt -l lib: -l faked: -l unknown-is-real -l fd-base: -l version -l help -- +l:f:i:s:ub:vh "$@"`
              ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
    FAKE_TEMP=$(getopt -l lib: -l faked: -l unknown-is-real -l fd-base: -l version -l help -- +l:f:i:s:ub:vh "$@")


In /usr/bin/fakeroot-tcp line 50:
    FAKE_TEMP=`getopt l:f:i:s:ub:vh "$@"`
              ^-------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
    FAKE_TEMP=$(getopt l:f:i:s:ub:vh "$@")


In /usr/bin/fakeroot-tcp line 67:
       FAKEROOT_LIB=`eval echo "$1"`
                    ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
       FAKEROOT_LIB=$(eval echo "$1")


In /usr/bin/fakeroot-tcp line 86:
       [ -p $1 ] || WAITINTRAP=1
            ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
       [ -p "$1" ] || WAITINTRAP=1


In /usr/bin/fakeroot-tcp line 113:
    for dir in `echo $PATHS | sed 's/:/ /g'`
               ^---------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                     ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    for dir in $(echo "$PATHS" | sed 's/:/ /g')


In /usr/bin/fakeroot-tcp line 141:
KEY_PID=`eval $FAKED $FAKEDOPTS $PIPEIN`
        ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.
              ^----^ 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: 
KEY_PID=$(eval "$FAKED" "$FAKEDOPTS" "$PIPEIN")


In /usr/bin/fakeroot-tcp line 142:
FAKEROOTKEY=`echo $KEY_PID|cut -d: -f1`
            ^-------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                  ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
FAKEROOTKEY=$(echo "$KEY_PID"|cut -d: -f1)


In /usr/bin/fakeroot-tcp line 143:
PID=`echo $KEY_PID|cut -d: -f2`
    ^-------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
          ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
PID=$(echo "$KEY_PID"|cut -d: -f2)


In /usr/bin/fakeroot-tcp line 146:
  trap "kill -s HUP $PID" EXIT INT
                    ^--^ SC2064: Use single quotes, otherwise this expands now rather than when signalled.

For more information:
  https://www.shellcheck.net/wiki/SC2034 -- GETOPTTEST appears unused. Verify...
  https://www.shellcheck.net/wiki/SC2039 -- In POSIX sh, 'local' is undefined.
  https://www.shellcheck.net/wiki/SC2064 -- Use single quotes, otherwise this...