bug-bash
[Top][All Lists]
Advanced

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

Re: Bug Report concerning backslash in bash5


From: Chet Ramey
Subject: Re: Bug Report concerning backslash in bash5
Date: Wed, 29 Jul 2020 09:30:58 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 7/28/20 6:42 PM, Ralph Beckmann wrote:
> Hello GNU team,
> 
> I found this misbehaviour in Bash 5 (e.g. GNU bash, version
> 5.0.16(1)-release (x86_64-pc-linux-gnu)):
> 
> $ BLA="1\.2"; echo 'x/'$BLA'/y/'
> \x/1\.2/\y/
> 
> I don't see any reasonable reason for the generated backslashes here.

Thanks for the report. This issue was a product of the bash-5.0 changes to
support the POSIX standard language concerning backslashes in shell
patterns. It is fixed in the devel branch and in bash-5.1-alpha.

Chet


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