In /usr/bin/nc-config line 8:
exec_prefix="/usr"
^---------^ SC2034: exec_prefix appears unused. Verify use (or export if used externally).


In /usr/bin/nc-config line 19:
if [ -z $has_dap2 -o "$has_dap2" = "OFF" ]; then
                  ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.


In /usr/bin/nc-config line 26:
if [ -z $has_dap4 -o "$has_dap4" = "OFF" ]; then
                  ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.


In /usr/bin/nc-config line 35:
if [ -z "$has_nc2" -o "$has_nc2" = "OFF" ]; then
                   ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.


In /usr/bin/nc-config line 42:
if [ -z "$has_nc4" -o "$has_nc4" = "OFF" ]; then
                   ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.


In /usr/bin/nc-config line 49:
if [ -z "$has_logging" -o "$has_logging" = "OFF" ]; then
                       ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.


In /usr/bin/nc-config line 56:
if [ -z "$has_hdf4" -o "$has_hdf4" = "OFF" ]; then
                    ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.


In /usr/bin/nc-config line 63:
if [ -z "$has_pnetcdf" -o "$has_pnetcdf" = "OFF" ]; then
                       ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.


In /usr/bin/nc-config line 70:
if [ -z "$has_hdf5" -o "$has_hdf5" = "OFF" ]; then
                    ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.


In /usr/bin/nc-config line 77:
if [ -z "$has_szlib" -o "$has_szlib" = "OFF" ]; then
                     ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.


In /usr/bin/nc-config line 84:
if [ -z "$has_cdf5" -o "$has_cdf5" = "OFF" -o "$has_cdf5" = "FALSE" ]; then
                    ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
                                           ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.


In /usr/bin/nc-config line 91:
if [ -z $has_parallel4 ]; then
        ^------------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
if [ -z "$has_parallel4" ]; then


In /usr/bin/nc-config line 98:
if [ -z $has_parallel ]; then
        ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
if [ -z "$has_parallel" ]; then


In /usr/bin/nc-config line 115:
  fc=`nf-config --fc`
     ^--------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
  fc=$(nf-config --fc)


In /usr/bin/nc-config line 116:
  fflags=`nf-config --fflags`
         ^------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
  fflags=$(nf-config --fflags)


In /usr/bin/nc-config line 117:
  flibs=`nf-config --flibs`
        ^-----------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
  flibs=$(nf-config --flibs)


In /usr/bin/nc-config line 118:
  has_f90=`nf-config --has-f90`
          ^-------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
  has_f90=$(nf-config --has-f90)


In /usr/bin/nc-config line 119:
  has_f03=`nf-config --has-f03`
          ^-------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
  has_f03=$(nf-config --has-f03)


In /usr/bin/nc-config line 129:
  cxx4=`ncxx4-config --cxx`
       ^------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
  cxx4=$(ncxx4-config --cxx)


In /usr/bin/nc-config line 130:
  cxx4flags=`ncxx4-config --cflags`
            ^---------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
  cxx4flags=$(ncxx4-config --cflags)


In /usr/bin/nc-config line 131:
  cxx4libs=`ncxx4-config --libs`
           ^-------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
  cxx4libs=$(ncxx4-config --libs)


In /usr/bin/nc-config line 134:
  cxx=`ncxx-config --cxx`
      ^-----------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
  cxx=$(ncxx-config --cxx)


In /usr/bin/nc-config line 135:
  cxxflags=`ncxx-config --cflags`
           ^--------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
  cxxflags=$(ncxx-config --cflags)


In /usr/bin/nc-config line 136:
  cxxlibs=`ncxx-config --libs`
          ^------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
  cxxlibs=$(ncxx-config --libs)


In /usr/bin/nc-config line 197:
    exit $1
         ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    exit "$1"


In /usr/bin/nc-config line 275:
    -*=*) value=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
                ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
    -*=*) value=$(echo "$1" | sed 's/[-_a-zA-Z0-9]*=//') ;;


In /usr/bin/nc-config line 276:
    *) value= ;;
       ^---^ SC2034: value appears unused. Verify use (or export if used externally).


In /usr/bin/nc-config line 294:
        echo $cflags
             ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
        echo "$cflags"


In /usr/bin/nc-config line 351:
            echo $libs $libsprivate
                 ^---^ SC2086: Double quote to prevent globbing and word splitting.
                       ^----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
            echo "$libs" "$libsprivate"


In /usr/bin/nc-config line 353:
            echo $libs
                 ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
            echo "$libs"


In /usr/bin/nc-config line 374:
        echo $version
             ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
        echo "$version"


In /usr/bin/nc-config line 382:
        echo $cxx
             ^--^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
        echo "$cxx"


In /usr/bin/nc-config line 386:
        echo $cxxflags
             ^-------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
        echo "$cxxflags"


In /usr/bin/nc-config line 390:
        echo $cxxlibs
             ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
        echo "$cxxlibs"


In /usr/bin/nc-config line 398:
        echo $cxx4
             ^---^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
        echo "$cxx4"


In /usr/bin/nc-config line 402:
        echo $cxx4flags
             ^--------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
        echo "$cxx4flags"


In /usr/bin/nc-config line 406:
        echo $cxx4libs
             ^-------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
        echo "$cxx4libs"


In /usr/bin/nc-config line 414:
        echo $fc
             ^-^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
        echo "$fc"


In /usr/bin/nc-config line 418:
        echo $fflags
             ^-----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
        echo "$fflags"


In /usr/bin/nc-config line 422:
        echo $flibs
             ^----^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
        echo "$flibs"


In /usr/bin/nc-config line 426:
        echo $has_f90
             ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
        echo "$has_f90"


In /usr/bin/nc-config line 430:
        echo $has_f03
             ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
        echo "$has_f03"

For more information:
  https://www.shellcheck.net/wiki/SC2034 -- exec_prefix appears unused. Verif...
  https://www.shellcheck.net/wiki/SC2166 -- Prefer [ p ] || [ q ] as [ p -o q...
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...