In /usr/bin/h5fc line 26:
exec_prefix="${prefix}"
^---------^ SC2034: exec_prefix appears unused. Verify use (or export if used externally).


In /usr/bin/h5fc line 62:
prog_name="`basename $0`"
           ^-----------^ SC2006: Use $(...) notation instead of legacy backticked `...`.
                     ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
prog_name="$(basename "$0")"


In /usr/bin/h5fc line 141:
  echo " in the 'Things You Can Modify to Override...'" section of $prog_name
                                                                   ^--------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
  echo " in the 'Things You Can Modify to Override...'" section of "$prog_name"


In /usr/bin/h5fc line 144:
  echo "  HDF5_FCFLAGS          \"$CFLAGSBASE\""
                                  ^---------^ SC2153: Possible misspelling: CFLAGSBASE may not be assigned, but FCFLAGSBASE is.


In /usr/bin/h5fc line 170:
for arg in $@ ; do
           ^-- SC2068: Double quote array expansions to avoid re-splitting elements.


In /usr/bin/h5fc line 192:
      dash_o="yes"
      ^----^ SC2034: dash_o appears unused. Verify use (or export if used externally).


In /usr/bin/h5fc line 213:
      prefix="`expr "$arg" : '-prefix=\(.*\)'`"
              ^-- SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
      prefix="$(expr "$arg" : '-prefix=\(.*\)')"


In /usr/bin/h5fc line 235:
      qarg="'"$arg"'"
              ^--^ SC2027: The surrounding quotes actually unquote this. Remove or escape them.


In /usr/bin/h5fc line 245:
	    ext=`expr "$arg" : '.*\(\..*\)'`
                ^--------------------------^ SC2006: Use $(...) notation instead of legacy backticked `...`.

Did you mean: 
	    ext=$(expr "$arg" : '.*\(\..*\)')


In /usr/bin/h5fc line 246:
	    if [ "$ext" = ".f" -o "$ext" = ".F" -o \
                               ^-- 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/h5fc line 247:
                 "$ext" = ".for" -o "$ext" = ".FOR" -o \
                                 ^-- 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/h5fc line 248:
                 "$ext" = ".ftn" -o "$ext" = ".FTN" -o \
                                 ^-- 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/h5fc line 249:
                 "$ext" = ".f90" -o "$ext" = ".F90" -o \
                                 ^-- 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/h5fc line 250:
                 "$ext" = ".f95" -o "$ext" = ".F95" -o \
                                 ^-- 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/h5fc line 251:
                 "$ext" = ".f03" -o "$ext" = ".F03" -o \
                                 ^-- 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/h5fc line 252:
                 "$ext" = ".f08" -o "$ext" = ".F08" ] ; then
                                 ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.


In /usr/bin/h5fc line 255:
	        fname=`basename $arg $ext`
                      ^------------------^ 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.

Did you mean: 
	        fname=$(basename "$arg" "$ext")


In /usr/bin/h5fc line 291:
  $SHOW $FC $H5BLD_FCFLAGS $FCFLAGS ${F9XSUFFIXFLAG} ${fmodules} $compile_args
        ^-^ 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.
                                    ^--------------^ SC2086: Double quote to prevent globbing and word splitting.
                                                                 ^-----------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
  $SHOW "$FC" "$H5BLD_FCFLAGS" "$FCFLAGS" "${F9XSUFFIXFLAG}" ${fmodules} "$compile_args"


In /usr/bin/h5fc line 350:
    if echo $link_args | grep " $lib " > /dev/null ||
            ^--------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
    if echo "$link_args" | grep " $lib " > /dev/null ||


In /usr/bin/h5fc line 351:
       echo $link_args | grep " $lib$" > /dev/null; then
            ^--------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
       echo "$link_args" | grep " $lib$" > /dev/null; then


In /usr/bin/h5fc line 367:
  $SHOW $FLINKER $FCFLAGS $H5BLD_FCFLAGS $F9XSUFFIXFLAG $LDFLAGS $fmodules $link_objs $LIBS $link_args $shared_link
        ^------^ 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.
                                         ^------------^ 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.
                                                                                      ^---^ SC2086: Double quote to prevent globbing and word splitting.
                                                                                            ^--------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
  $SHOW "$FLINKER" "$FCFLAGS" "$H5BLD_FCFLAGS" "$F9XSUFFIXFLAG" "$LDFLAGS" $fmodules "$link_objs" "$LIBS" "$link_args" $shared_link

For more information:
  https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to ...
  https://www.shellcheck.net/wiki/SC2027 -- The surrounding quotes actually u...
  https://www.shellcheck.net/wiki/SC2034 -- dash_o appears unused. Verify use...