diff --git a/SC2229.md b/SC2229.md index 7df1da7..bd0adfd 100644 --- a/SC2229.md +++ b/SC2229.md @@ -36,4 +36,8 @@ read "${foo}" # ShellCheck warns 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. \ No newline at end of file +`${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` \ No newline at end of file