From 6b9cad55a51cef5b71ae7e19fd01ee54d9a2fbbc Mon Sep 17 00:00:00 2001 From: Vidar Holen <spam@vidarholen.net> Date: Tue, 9 Jul 2013 22:18:22 -0700 Subject: [PATCH] Better unquoted message, seeing as how it's so common. --- ShellCheck/Analytics.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShellCheck/Analytics.hs b/ShellCheck/Analytics.hs index 6cded34..bbb0aff 100644 --- a/ShellCheck/Analytics.hs +++ b/ShellCheck/Analytics.hs @@ -1455,7 +1455,7 @@ checkSpacefulness t = then return [(getId token, Note InfoC warning)] else return [] where - warning = "Unquoted variable may contain spaces/globs, and will word split." + warning = "Double quote to prevent globbing and word splitting." writeF _ _ name DataExternal = do setSpaces name True