Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 'case' pattern matching bug with bracket expressions
On 5/14/15 1:30 PM, Bart Schaefer wrote:
> Even in bash the space can be left unescaped in some contexts; e.g.
>
> schaefer@burner:~$ var=' '
> schaefer@burner:~$ echo ${var//[ ]/foo}
> foo
Yes. Inside ${...}, the space doesn't delimit a token. The Posix
tokenizing rules specify that.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@xxxxxxxx http://cnswww.cns.cwru.edu/~chet/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author