Updated SC1083 (markdown)

Mingye Wang
2015-10-04 01:33:50 -04:00
parent e7719db51f
commit b1c6520da6

@@ -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}'`.