shellcheck is a tool for automatically detecting shell script problems

ShellCheck is a static analysis and linting tool for sh/bash/ksh/zsh scripts.

It's mainly focused on handling typical beginner and intermediate level syntax errors and pitfalls where the shell just gives a cryptic error message or strange behavior, but it also reports on a few more advanced issues where corner cases can cause delayed failures.

history | excerpt history