Template – ShellCheck Wiki

See this page on GitHub

Sitemap


(Message goes here, use code and foo wisely)

Problematic code:

# Simple example of problematic code

Correct code:

# Simple example of above code, only fixed

Rationale:

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

Exceptions:

(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.