From 328d5345d880bb011d9138bd803551ec1a5cb620 Mon Sep 17 00:00:00 2001 From: koalaman Date: Fri, 8 Aug 2014 17:19:10 -0700 Subject: [PATCH] Updated SC2043 (markdown) --- SC2043.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SC2043.md b/SC2043.md index e214cbf..99bc7cd 100644 --- a/SC2043.md +++ b/SC2043.md @@ -33,6 +33,8 @@ To iterate over *words* in a variable, instead of `for var in myvariable`, use ShellCheck has detected that your for loop iterates over a single, constant value. This is most likely a bug in your code, caused by you not expanding the value in the way you want. +You should make sure that whatever you loop over will expand into multiple words. + ### Contraindications None. \ No newline at end of file