Skip to content
koalaman edited this page Jan 20, 2018 · 21 revisions

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

Related resources:

  • Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!

ShellCheck

Each individual ShellCheck warning has its own wiki page like SC1000. Use GitHub Wiki's "Pages" feature guerraart8 to find a specific , or see Checks.

Clone this wiki locally