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    c...@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to