On 9/11/12 10:50 AM, Benoit Vaugon wrote: > Description: > Cannot use "case" construction in a "for" loop in a $() sub shell. > Should work but produces parsing error. > > Repeat-By: > echo $(for x in whatever; do case y in *) echo 42;; esac; done)
Thanks for the report. This will be fixed in the next bash release. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/