On 12/12/12 12:58 PM, Raphaël Droz wrote: > Using the devel/ branch, with default options (simple ./configure), I > found that *sourcing* such a script would cause bash to hang using 100% > CPU. This does not happen using 4.2_p39. > >> #!/bin/bash >> shopt -s extglob >> glob='@(|))' >> for i in /tmp/!($glob); do echo $i; done
Thanks for the report. Luckily it was a quick and easy fix. It will be in the next development snapshot. 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/