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