bug-bash
[Top][All Lists]
Advanced

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

Re: another case from the case corner case casualty case files


From: Chet Ramey
Subject: Re: another case from the case corner case casualty case files
Date: Sat, 8 Apr 2017 18:46:48 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.0

On 4/2/17 8:34 PM, Martijn Dekker wrote:
> $ x=$'\\a\\b\\c\\\001\\d\\e\\f'
> $ case $'abc\001def' in $x) echo ok ;; *) echo oops; esac
> oops
> $ x=$'\\a\\b\\c\\\002\\d\\e\\f'
> $ case $'abc\002def' in $x) echo ok ;; *) echo oops; esac
> ok

Thanks for the report.  This is another one that was tricky to fix.

Chet

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



reply via email to

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