Static Analysis Tools for Shell Scripts
Static Analysis Tools for Shell Scripts
ShellCheck is the definitive static analysis tool for shell scripts:
shellcheck -s bash -e SC2086 script.shEmbed inline override directives when an unquoted expansion is deliberate:
# shellcheck disable=SC2086
echo $intentional_word_split