From c0b0baa75d0bc2dcd46e50290e498bc4e1be1ce9 Mon Sep 17 00:00:00 2001 From: koalaman Date: Sat, 25 Feb 2017 15:17:38 -0800 Subject: [PATCH] Created SC1110 (markdown) --- SC1110.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 SC1110.md diff --git a/SC1110.md b/SC1110.md new file mode 100644 index 0000000..a21491f --- /dev/null +++ b/SC1110.md @@ -0,0 +1,25 @@ +## This is a unicode quote. Delete and retype it (or quote to make literal). + +### Problematic code: + +```sh +echo ‘hello world’ +``` + +### Correct code: + +```sh +echo 'hello world' +``` + +### Rationale: + +Some software, like OS X, Word and WordPress, may automatically replace your regular quotes with slanted Unicode quotes. Try deleting and retyping them, and/or disable “smart quotes” in your editor or OS. + +### Exceptions + +If you want to use typographic single quotes, you can put them in double quotes (or typographic double quotes in single quotes) to make shellcheck ignore them, e.g., + +```sh +printf "Warning: ‘wakeonlan’ is not installed.\n" +``` \ No newline at end of file