From b1c6520da6b069c8684e4a5b6991fa1cb75e9458 Mon Sep 17 00:00:00 2001 From: Mingye Wang Date: Sun, 4 Oct 2015 01:33:50 -0400 Subject: [PATCH] Updated SC1083 (markdown) --- SC1083.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SC1083.md b/SC1083.md index a69b5f5..0b359c9 100644 --- a/SC1083.md +++ b/SC1083.md @@ -22,6 +22,8 @@ and ```sh eval "echo \${foo}" +``` + ### Rationale: Curly brackets are normally used as syntax in parameter expansion, command grouping and brace expansion. @@ -36,5 +38,4 @@ ShellCheck does not warn about `{}`, since this is frequently used with `find` a ### Exceptions -This error is harmless when the curly brackets are supposed to be literal, in e.g. `awk {'print $1'}`. However, it's cleaner and less error prone to simply include them inside the quotes: `awk '{print $1}'`. -``` +This error is harmless when the curly brackets are supposed to be literal, in e.g. `awk {'print $1'}`. However, it's cleaner and less error prone to simply include them inside the quotes: `awk '{print $1}'`. \ No newline at end of file