Updated SC2229 (markdown)

Vidar Holen
2018-02-25 13:56:48 -08:00
parent 9b4a024cb2
commit c7e89264b3

@@ -37,3 +37,7 @@ read "${foo?}" # No warning
```
`${foo?}` fails when `foo` is unset, which is fine since `read` would have failed too. The main side effect is an improved runtime error message in that case.
### Related resources:
* [Bash Pitfalls #12](https://mywiki.wooledge.org/BashPitfalls#pf12): `read $foo`