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