Re: Bug Report concerning backslash in bash5

2020-08-05 Thread Dale R. Worley
Robert Elz writes: > Neither I suspect, Dale just didn't notice which backslashes Ralph > meant were the problem - the one in the expansion of $BLA was never > it, it is the others that appeared - which is an obvious bug > (probably something trivial) which I would expect will be quickly fixed. Y

Re: Bug Report concerning backslash in bash5

2020-07-29 Thread Chet Ramey
On 7/29/20 4:39 AM, Robert Elz wrote: > Date:Tue, 28 Jul 2020 22:41:52 -0400 > From:Eli Schwartz > Message-ID: <4099319f-bc5e-a2ef-cfe8-6189df5a4...@archlinux.org> > > | I'm not sure what point you're trying to make here. Are you arguing that > | *printing* these

Re: Bug Report concerning backslash in bash5

2020-07-29 Thread Chet Ramey
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. Th

Re: Bug Report concerning backslash in bash5

2020-07-29 Thread Robert Elz
Date:Tue, 28 Jul 2020 22:41:52 -0400 From:Eli Schwartz Message-ID: <4099319f-bc5e-a2ef-cfe8-6189df5a4...@archlinux.org> | I'm not sure what point you're trying to make here. Are you arguing that | *printing* these backslash escapes is valid behavior here, and the

Re: Bug Report concerning backslash in bash5

2020-07-28 Thread Eli Schwartz
On 7/29/20 1:35 AM, Dale R. Worley wrote: > Ralph Beckmann writes: >> 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 backslashe

Re: Bug Report concerning backslash in bash5

2020-07-28 Thread Dale R. Worley
Ralph Beckmann writes: > 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. My guess is that you're running into the f

Bug Report concerning backslash in bash5

2020-07-28 Thread Ralph Beckmann
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