utility
ShellCheck
Static analysis of shell source; review findings against intended semantics. Tool unavailable locally; command not executed.
Formal Syntax & Structure
bash syntaxbash
shellcheck -s bash demo.shReturn Value
exit status
Consult the installed version documentation; not locally verified.
Working Example
Example Snippetbash
shellcheck -s bash demo.sh