From ad5ed08b5332211227b40a68eda693a38f56cd79 Mon Sep 17 00:00:00 2001 From: koalaman Date: Sat, 29 Mar 2014 10:31:08 -0700 Subject: [PATCH] Updated SC2123 (markdown) --- SC2123.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SC2123.md b/SC2123.md index 572848b..88ee202 100644 --- a/SC2123.md +++ b/SC2123.md @@ -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). -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.