In /usr/bin/cgnsplot line 5:
dir=`dirname $0`
    ^----------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
             ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
dir=$(dirname "$0")


In /usr/bin/cgnsplot line 9:
. /usr/share/cgnstools/cgconfig
  ^---------------------------^ SC1091: Not following: /usr/share/cgnstools/cgconfig was not specified as input (see shellcheck -x).


In /usr/bin/cgnsplot line 16:
  if test -x $d/plotwish ; then
             ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
  if test -x "$d"/plotwish ; then


In /usr/bin/cgnsplot line 20:
  if test -x $d/cgnswish/plotwish ; then
             ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
  if test -x "$d"/cgnswish/plotwish ; then


In /usr/bin/cgnsplot line 35:
  if test -f $d/cgnsplot.tcl ; then
             ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
  if test -f "$d"/cgnsplot.tcl ; then


In /usr/bin/cgnsplot line 55:
  exec $plotwish $cgnsplot
       ^-------^ SC2086: Double quote to prevent globbing and word splitting.
                 ^-------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
  exec "$plotwish" "$cgnsplot"


In /usr/bin/cgnsplot line 57:
  exec $plotwish $cgnsplot "$@"
       ^-------^ SC2086: Double quote to prevent globbing and word splitting.
                 ^-------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
  exec "$plotwish" "$cgnsplot" "$@"

For more information:
  https://www.shellcheck.net/wiki/SC1091 -- Not following: /usr/share/cgnstoo...
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...
  https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le...