Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
bracket expressions and POSIX
- X-seq: zsh-workers 15184
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: bracket expressions and POSIX
- Date: Fri, 29 Jun 2001 14:22:15 -0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
POSIX says that \ loses its special meaning within a bracket
expression for pattern matching and also that ! is the
^ character in that context.
So this strikes me as non-compliant:
% emulate sh
% touch \\test abc
% echo [!a]*
zsh: event not found: a]
% echo [\!a]*
\test
% echo [\]*
[]*
% echo [\\]*
\test
More specifically, the first three echoes appear to be
non-POSIX-compliant.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author