Updated SC2031 (markdown)

koalaman
2018-01-19 18:25:00 -08:00
parent 052ce593cb
commit ab32e9ac48

@@ -74,3 +74,9 @@ This applies not only to setting variables, but also setting shell options and c
### Exceptions
You can ignore this error if you don't care that the changes aren't reflected, because work on the value branches and shouldn't be recombined.
### Related resources:
* [BashFaq: I set variables in a loop that's in a pipeline. Why do they disappear after the loop terminates?](https://mywiki.wooledge.org/BashFAQ/024)
* [Bash Pitfalls: grep foo bar | while read -r; do ((count++)); done](https://mywiki.wooledge.org/BashPitfalls#pf8)
* [StackOverflow: A variable modified inside a while loop is not remembered](https://stackoverflow.com/questions/16854280/a-variable-modified-inside-a-while-loop-is-not-remembered)