[Top][All Lists]

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

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

From: Chet Ramey
Subject: Re: Infinite loop triggered by extglob +(!(x))y
Date: Sun, 25 Jul 2021 17:08:53 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.9.1

On 7/25/21 5:01 PM, Andreas Schwab wrote:
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

That's not what I mean. It fails, as it should: there is no filename that
will make it succeed. The runtime is obviously proportional to the length.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

reply via email to

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