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 > > 'case' can't match an escaped $'\001' character passed from a variable. > Any other character from $'\002' up works fine. Curious that $'\001' > seems to be handled specially somehow.
Thanks. This will, in the fullness of time, be fixed. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/