bug-bash
[Top][All Lists]
Advanced

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

Re: A BUG in bash-5.3 and extglob


From: Chet Ramey
Subject: Re: A BUG in bash-5.3 and extglob
Date: Mon, 1 Sep 2025 13:42:33 -0400
User-agent: Mozilla Thunderbird

On 8/31/25 9:49 AM, Stan Marsh wrote:

But here's the thing: As far as I can tell, extglob is on-by-default - in all 
the
versions of bash that I was able to test

It's not. You can configure bash to have it enabled by default
(--enable-extended-glob-default=yes) but it is not enabled by default:

$ grep extglob configure.ac
opt_extglob_default=no

or you can enable it in a startup file.

You can find out which you have by running `grep EXTGLOB_DEFAULT config.h'
in your bash build directory.

--
``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/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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