In /usr/bin/hdf2adf line 6: 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/hdf2adf line 7: if ! [ -x $dir/cgnsconvert ]; then ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if ! [ -x "$dir"/cgnsconvert ]; then In /usr/bin/hdf2adf line 16: $dir/cgnsconvert -a $links $1 $2 ^--^ 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: "$dir"/cgnsconvert -a $links "$1" "$2" For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le...