In /usr/bin/cgnsview 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/cgnsview line 9:
. /usr/share/cgnstools/cgconfig
  ^---------------------------^ SC1091: Not following: /usr/share/cgnstools/cgconfig was not specified as input (see shellcheck -x).


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

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


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

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


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

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


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

Did you mean: 
  exec "$cgiowish" "$cgnsview"


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

Did you mean: 
  exec "$cgiowish" "$cgnsview" "$@"

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...