Template – ShellCheck Wiki

See this page on GitHub


(Message goes here, use code and foo wisely)

Problematic code:

# Simple example of problematic code

Correct code:

# Simple example of above code, only fixed


(An explanation of why the code is problematic and how the correct code is an improvement)


(Cases where the user may choose to ignore this warning, if any.)

ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.