Clark J. Wang wrote: > With bash version: 4.0.10, the following case statement crashed with > segfault: > > $ cat foo.sh > case a in > a) echo a ;& > esac > $ bash4 foo.sh > a > Segmentation fault > $ > > In an interactive shell, that case statement causes current shell to hang > with nearly 100% CPU usage.
Thanks for the report and patch. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/