[Top][All Lists]

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

Re: Infinite loop triggered by extglob +(!(x))y

From: Andreas Schwab
Subject: Re: Infinite loop triggered by extglob +(!(x))y
Date: Sun, 25 Jul 2021 23:01:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

On Jul 25 2021, Chet Ramey wrote:

> In the bash build directory, for instance, it fails right away, as it
> should: there aren't any files ending in `y'.

It doesn't matter whether the file name contains `y', just how long it
is.  Try creating a file with a name of 30 or more characters.  Each
additional character doubles the run time.


Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

reply via email to

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