Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16646

Re: Bug Report concerning backslash in bash5

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Bug Report concerning backslash in bash5
Date 2020-07-29 09:30 -0400
Organization ITS, Case Western Reserve University
Message-ID <mailman.251.1596029468.2739.bug-bash@gnu.org> (permalink)
References <15dff7a7b42bf7192b57066215723128@rbx.de> <aa9bfe98-8556-e6c9-86a9-707cd25bcd7c@case.edu>

Show all headers | View raw


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/

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: Bug Report concerning backslash in bash5 Chet Ramey <chet.ramey@case.edu> - 2020-07-29 09:30 -0400

csiph-web