Re: extglob can be erroneously enabled in bash-5.2 through comsub nesting

2022-10-07 Thread Chet Ramey
On 10/6/22 7:58 PM, Kerin Millar wrote: Thanks for the report. I've attached the patch I applied to fix this. Thanks for the patch. It is probably sufficient for the downstream bug report to be closed. Unfortunately, it remains the case that the >=5.2-rc3 parser is buggy. Thanks for the ad

Re: extglob can be erroneously enabled in bash-5.2 through comsub nesting

2022-10-06 Thread Kerin Millar
On Thu, 6 Oct 2022 15:49:26 -0400 Chet Ramey wrote: > 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 > > Th

Re: extglob can be erroneously enabled in bash-5.2 through comsub nesting

2022-10-06 Thread Chet Ramey
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 l