[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \177 at the end of a variable
From: |
Chet Ramey |
Subject: |
Re: \177 at the end of a variable |
Date: |
Thu, 26 Nov 2015 16:48:44 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
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/