Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bracket expressions and POSIX
- X-seq: zsh-workers 15199
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: "Zsh hackers list" <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: bracket expressions and POSIX
- Date: Mon, 2 Jul 2001 07:10:06 +0000
- In-reply-to: <000301c102be$19047990$21c9ca95@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <000301c102be$19047990$21c9ca95@xxxxxxxxxxxxxx>
On Jul 2, 10:13am, Andrej Borsenkow wrote:
} Subject: RE: bracket expressions and POSIX
}
} Where zsh really violates POSIX:
}
} ==
} Since each asterisk matches zero or more occurrences, the patterns a*b and
} a**b have identical functionality
} ==
Of course, a*b and a**b do have identical functionality. ** only becomes
special when it has a slash after it. I suppose SH_GLOB could disable it.
} Another point is using collating elements, ranges etc ... anything that
} has to deal with locale.
I've lost track of what happened to the strcoll() situation since PWS's
regex-like implementation of globbing was put in. There used to be #if 0
code in glob.c (as of workers/7185) but it has completely disappeared.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author