From 6e10ff3e15d024a50010de653affd0b57f9d6f82 Mon Sep 17 00:00:00 2001 From: koalaman Date: Sat, 29 Mar 2014 09:18:51 -0700 Subject: [PATCH] Updated Template (markdown) --- Template.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Template.md b/Template.md index 20056a6..ccd2de7 100644 --- a/Template.md +++ b/Template.md @@ -1,17 +1,19 @@ -## (Message goes here) +## This is a unicode double quote. Delete and retype it. ### Problematic code: - (Simple example of problematic code) + echo “hello world” ### Correct code: - (Simple example of above code, only fixed) + echo "hello world" ### Rationale: -(An explanation of why the code is problematic and how the correct code is an improvement) +Blog software and word processors frequently replaces ASCII quotes `""` with fancy Unicode quotes, `“”`. To bash, Unicode quotes are considered regular literals and not quotes at all. + +Simply delete them and retype them in your editor. ### Contraindications -(Cases where the user may choose to ignore this warning, if any.) \ No newline at end of file +If you really want literal Unicode double quotes, you can put them in single quotes (or unicode single quotes in double quotes) to make shellcheck ignore them. \ No newline at end of file