[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inner Command Groups fail in Bash 5.2
From: |
Chet Ramey |
Subject: |
Re: Inner Command Groups fail in Bash 5.2 |
Date: |
Fri, 1 Sep 2023 09:52:17 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 |
On 8/31/23 1:21 PM, Dima Korobskiy wrote:
Bash Version: 5.2
Patch Level: 15
Release Status: release
Description:
One of my Bash scripts started to fail all of a sudden and I was
able to narrow down this problem to Bash upgrade itself (via Homebrew on a
Mac): from 5.1.16 to 5.2.15.
It looks to me pretty serious: a lot of scripts might be potentially affected.
Thanks for the report. It's an easy fix:
*** ../bash-20230818/parse.y Wed Aug 23 09:56:19 2023
--- parse.y Fri Sep 1 09:29:27 2023
***************
*** 3224,3227 ****
--- 3224,3229 ----
case TIMEOPT: /* time -p time pipeline */
case TIMEIGN: /* time -p -- ... */
+ case DOLPAREN:
+ case DOLBRACE:
return 1;
default:
--
``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/
- Re: Inner Command Groups fail in Bash 5.2,
Chet Ramey <=