Updated SC2123 (markdown)

koalaman
2014-03-29 10:31:08 -07:00
parent cb15fa420d
commit ad5ed08b53

@@ -21,7 +21,7 @@ Bad practice: use another uppercase name.
`PATH` is where the shell looks for the commands it executes. By inadvertently overwriting it, the shell will be unable to find commands (like `cat` in this case). `PATH` is where the shell looks for the commands it executes. By inadvertently overwriting it, the shell will be unable to find commands (like `cat` in this case).
You get this warning when ShellCheck suspects that you didn't meant to overwrite it (because it contains a non-`/bin` path but no path separators (`:`)). You get this warning when ShellCheck suspects that you didn't meant to overwrite it (because it's a single path with no path separators).
Best shell scripting practice is to always use lowercase variable names to avoid accidentally overwriting exported and internal variables. Best shell scripting practice is to always use lowercase variable names to avoid accidentally overwriting exported and internal variables.