From 361da20d336ddba15d1a5d2f5d7ac67b91296baf Mon Sep 17 00:00:00 2001 From: Kyle Gottfried Date: Thu, 12 Oct 2017 08:29:16 -0400 Subject: [PATCH] `read`s looks like a misspelling --- SC2162.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SC2162.md b/SC2162.md index 55218ed..f975aab 100644 --- a/SC2162.md +++ b/SC2162.md @@ -18,7 +18,7 @@ read -r name By default, `read` will interpret backslashes before spaces and line feeds, and otherwise strip them. This is rarely expected or desired. -Normally you just want to read data, which is what `read -r` does. All `read`s should use `-r` unless you have a good reason not to. +Normally you just want to read data, which is what `read -r` does. You should always use `-r` unless you have a good reason not to. Note that `read -r` will still strip leading and trailing spaces. `IFS="" read -r` prevents this.