bug-bash
[Top][All Lists]
Advanced

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

Bug Report concerning backslash in bash5


From: Ralph Beckmann
Subject: Bug Report concerning backslash in bash5
Date: Wed, 29 Jul 2020 00:42:37 +0200
User-agent: Roundcube Webmail/1.4.4

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.

Compare to bash 4 (e.g. GNU bash, version 4.4.12(1)-release (arm-unknown-linux-gnueabihf)):

$ BLA="1\.2"; echo 'x/'$BLA'/y/'
x/1\.2/y/

I found some discussion around this bug, but it seems not to be finally fixed:

https://lists.gnu.org/archive/html/bug-bash/2019-01/msg00087.html

Thanks for checking and fixing this in advance,
regards,
Ralph Beckmann (from Germany)



reply via email to

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