In /usr/bin/nocache line 6: case "$opt" in ^-- SC2220: Invalid flags are not handled. Add a *) case. In /usr/bin/nocache line 16: [ ! -z "$debugfd" ] && echo "[nocache] DEBUG: Executing: $@" >&$debugfd ^-- SC2236: Use -n instead of ! -z. ^-- SC2145: Argument mixes string and array. Use * or separate argument. For more information: https://www.shellcheck.net/wiki/SC2145 -- Argument mixes string and array. ... https://www.shellcheck.net/wiki/SC2220 -- Invalid flags are not handled. Ad... https://www.shellcheck.net/wiki/SC2236 -- Use -n instead of ! -z.