bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regression in pattern substitution with compat42


From: Chet Ramey
Subject: Re: Regression in pattern substitution with compat42
Date: Thu, 9 Feb 2023 10:57:28 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.7.1

On 2/8/23 1:50 PM, Tom Briden via Bug reports for the GNU Bourne Again SHell wrote:

Bash Version: 5.2
Patch Level: 15
Release Status: release

Description:
   As of version 5.2-beta, replacing a single backslash with a double
backslash is no longer possible when using BASH_COMPAT=4.2.
   The issue appears to have been introduced in commit
https://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=2a1c81bf634d372fde5141d7e616042ca960d9b4
   which now returns `1` from `shouldexp_replacement`.

shopt -u patsub_replacement

--
``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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]