From c785d43e340f4938b59194cdcd7739e9d690d92f Mon Sep 17 00:00:00 2001 From: Vidar Holen Date: Sat, 9 May 2015 12:07:33 -0700 Subject: [PATCH] Fixed unquoted $@ warning message. --- ShellCheck/Analytics.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShellCheck/Analytics.hs b/ShellCheck/Analytics.hs index e744971..2901a6b 100644 --- a/ShellCheck/Analytics.hs +++ b/ShellCheck/Analytics.hs @@ -950,7 +950,7 @@ prop_checkUnquotedDollarAt8 = verifyNot checkUnquotedDollarAt "echo \"${args[@]: checkUnquotedDollarAt p word@(T_NormalWord _ parts) | not $ isStrictlyQuoteFree (parentMap p) word = forM_ (take 1 $ filter isArrayExpansion parts) $ \x -> err (getId x) 2068 - "Double quote array expansions, otherwise they're like $* and break on spaces." + "Double quote array expansions to avoid re-splitting elements." checkUnquotedDollarAt _ _ = return () prop_checkConcatenatedDollarAt1 = verify checkConcatenatedDollarAt "echo \"foo$@\""