code
and foo wisely)# Simple example of problematic 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.