Revision 3778
Added by Aaron Marcuse-Kubitza over 12 years ago
expand_braces | ||
---|---|---|
36 | 36 |
brackets="($nonBracket\[$nonBracket\])*$nonBracket" |
37 | 37 |
|
38 | 38 |
while true; do |
39 |
read # get next line from stdin; strips trailing newlines
|
|
39 |
read -r # get next line from stdin; strips trailing newlines; -r: raw input
|
|
40 | 40 |
line="$REPLY" |
41 | 41 |
test -z "$line" && break # EOF if no line or empty line |
42 | 42 |
|
Also available in: Unified diff
expand_braces: Fixed bug where needed to get next line from stdin in raw mode, so that \ won't be parsed as escape chars