[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

devel/ hangs in globbing

From: Raphaël Droz
Subject: devel/ hangs in globbing
Date: Wed, 12 Dec 2012 18:58:24 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

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

[ bash-completion initialisation uses this kind of construct ]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]