Updated Template (markdown)

koalaman
2014-03-29 09:18:51 -07:00
parent 45bf8c1a67
commit 6e10ff3e15

@@ -1,17 +1,19 @@
## (Message goes here) ## This is a unicode double quote. Delete and retype it.
### Problematic code: ### Problematic code:
(Simple example of problematic code) echo “hello world”
### Correct code: ### Correct code:
(Simple example of above code, only fixed) echo "hello world"
### Rationale: ### 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 ### Contraindications
(Cases where the user may choose to ignore this warning, if any.) 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.