On 1/16/14 6:46 PM, Eduardo A. Bustamante López wrote:
> The DEL ($'\177') character does not behave like the other control
> characters when used with the regex operator inside the test keyword.

This has to do with the expansion of $r and that $r includes a backslash.
When combined with the internal quoting bash does, and the fact that the
backslash is special to pattern matching, we end up with this problem.
I've only thought about it a little so far, but I don't know if there's a
quick or simple fix.  This may have to wait until after bash-4.3 is
released.

Chet

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

Reply via email to