Updated SC2051 (markdown)

koalaman
2014-05-25 11:41:17 -07:00
parent 1c8870ece4
commit cc359c21fe

@@ -1,4 +1,4 @@
## Bash doesn't support variables in brace expansions. ## Bash doesn't support variables in brace range expansions.
### Problematic code: ### Problematic code:
@@ -16,7 +16,7 @@
### Rationale: ### Rationale:
In Bash, brace expansion happens before variable expansion. This means that brace expansion will never account for variables. In Bash, brace expansion happens before variable expansion. This means that brace expansion will not account for variables.
Use an arithmetic for loop instead. Use an arithmetic for loop instead.