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


Groups > gnu.bash.bug > #11930

Re: \177 at the end of a variable

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: \177 at the end of a variable
Date 2015-11-26 16:48 -0500
Organization ITS, Case Western Reserve University
Message-ID <mailman.776.1448574534.31583.bug-bash@gnu.org> (permalink)
References <CAAZkfo+B67paTuOM2Pg3KKBhRF15Jtvm1npphJjomWpVXHENhQ@mail.gmail.com>

Show all headers | View raw


On 11/23/15 5:29 AM, isabella parakiss wrote:
> $ str=abcd; [[ $'a\177' = a"${str:4:1}" ]]; echo $?
> 0
> 
> 
> This happens in every version since 3.1, including the devel branch.

This was fixed in early November as a result of

http://lists.gnu.org/archive/html/bug-bash/2015-11/msg00008.html

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/

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


Thread

Re: \177 at the end of a variable Chet Ramey <chet.ramey@case.edu> - 2015-11-26 16:48 -0500

csiph-web