In /usr/bin/tpic2pdftex line 71:
: ${EGREP=egrep}}
  ^------------^ SC2223: This default assignment may cause DoS due to globbing. Quote it.
                ^-- SC1083: This } is literal. Check expression (missing ;/\n?) or quote it.


In /usr/bin/tpic2pdftex line 77:
if test -n "$COMSPEC$ComSpec" \
                    ^------^ SC2154: ComSpec is referenced but not assigned.


In /usr/bin/tpic2pdftex line 90:
  local saveIFS="$IFS"
  ^-----------^ SC2039: In POSIX sh, 'local' is undefined.


In /usr/bin/tpic2pdftex line 115:
    AWK=awk
    ^-^ SC2209: Use var=$(command) to assign output (or quote to assign string).


In /usr/bin/tpic2pdftex line 122:
AWKPROG='
        ^-- SC2016: Expressions don't expand in single quotes, use double quotes for that.


In /usr/bin/tpic2pdftex line 354:
    qprintf(sprintf("%f %f l", 0.5 * (x[0] + x[1]) * wscale, \
                                                             ^-- SC1004: This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.


In /usr/bin/tpic2pdftex line 357:
      qprintf(sprintf("%f %f %f %f %f %f c", \
                                             ^-- SC1004: This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.


In /usr/bin/tpic2pdftex line 358:
        (a * x[i] + (1 - a) * 0.5 * (x[i] + x[i - 1])) * wscale, \
                                                                 ^-- SC1004: This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.


In /usr/bin/tpic2pdftex line 359:
       -(a * y[i] + (1 - a) * 0.5 * (y[i] + y[i - 1])) * wscale, \
                                                                 ^-- SC1004: This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.


In /usr/bin/tpic2pdftex line 360:
        (a * x[i] + (1 - a) * 0.5 * (x[i] + x[i + 1])) * wscale, \
                                                                 ^-- SC1004: This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.


In /usr/bin/tpic2pdftex line 361:
       -(a * y[i] + (1 - a) * 0.5 * (y[i] + y[i + 1])) * wscale, \
                                                                 ^-- SC1004: This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.


In /usr/bin/tpic2pdftex line 425:
    qprintf(sprintf("%f %f %f %f %f %f c", x1 * wscale, -y1 * wscale, \
                                                                      ^-- SC1004: This backslash+linefeed is literal. Break outside single quotes if you just want to break the line.

For more information:
  https://www.shellcheck.net/wiki/SC1083 -- This } is literal. Check expressi...
  https://www.shellcheck.net/wiki/SC2039 -- In POSIX sh, 'local' is undefined.
  https://www.shellcheck.net/wiki/SC2154 -- ComSpec is referenced but not ass...