[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: extglob can be erroneously enabled in bash-5.2 through comsub nestin
From: |
Chet Ramey |
Subject: |
Re: extglob can be erroneously enabled in bash-5.2 through comsub nesting |
Date: |
Thu, 6 Oct 2022 15:49:26 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 |
On 10/2/22 4:51 AM, Kerin Millar wrote:
$ declare -p BASH_VERSION
declare -- BASH_VERSION="5.2.0(1)-release"
$ BASH_COMPAT=50; shopt extglob; : $(: $(: $(:))); shopt extglob
extglob off
extglob on
Thanks for the report. I've attached the patch I applied to fix this.
--
``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/
compat-extglob-comsub
Description: Text document