Updated SC2051 (markdown)

koalaman
2014-09-09 16:54:37 -07:00
parent 1cd6f2ff52
commit b20b80949a

@@ -23,7 +23,7 @@ For integers, use an arithmetic for loop instead. For zero-padded numbers or let
from="a" to="m" from="a" to="m"
for c in $(eval "echo {$from..$to}"); do echo "$c"; done for c in $(eval "echo {$from..$to}"); do echo "$c"; done
or more carefully (if `from`/`to` could be user input, or if the brace expansion could have spaces or globs): or more carefully (if `from`/`to` could be user input, or if the brace expansion could have spaces):
from="a" to="m" from="a" to="m"
while IFS= read -d '' -r c while IFS= read -d '' -r c