From 42d6b1986bcf2b083888a7c2835cd15b4b61274f Mon Sep 17 00:00:00 2001 From: John Gardner Date: Wed, 22 Dec 2021 16:55:02 +1100 Subject: [PATCH] Fix hyphenation --- SC1003.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SC1003.md b/SC1003.md index 69c5707..ff39c86 100644 --- a/SC1003.md +++ b/SC1003.md @@ -17,11 +17,11 @@ echo 'This is how it'\''s done'. ### Rationale -In POSIX shell, the shell cares about nothing but another single quote to terminate the quoted segment. Not even backslashes are interpreted. +In POSIX shell, the shell cares about nothing but another single-quote to terminate the quoted segment. Not even backslashes are interpreted. [POSIX.1 Shell Command Language ยง 2.2.2 Single Quotes](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_02_02): > Enclosing characters in single-quotes ( `''` ) shall preserve the literal value of each character within the single-quotes. A single-quote cannot occur within single-quotes. ### Exceptions -If you want your single quoted string to end in a backslash, you can rewrite as `'string'\\` or [[ignore]] this warning. +If you want your single-quoted string to end in a backslash, you can rewrite as `'string'\\` or [[ignore]] this warning.