finds bugs in your shell scripts.
shellcheck provides a diff output, so things can be automatically fixed with the
patch command. but I guess this should be checked on a script-by-script basis.
check the script first:
read and try to understand the outputs, if it's just easy things like quoting variables you can patch the file automatically:
or just show the diff output and review it: