From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17890 invoked from network); 2 Jul 2001 07:12:09 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 2 Jul 2001 07:12:09 -0000 Received: (qmail 5071 invoked by alias); 2 Jul 2001 07:11:13 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15199 Received: (qmail 5059 invoked from network); 2 Jul 2001 07:11:12 -0000 From: "Bart Schaefer" Message-Id: <1010702071006.ZM2469@candle.brasslantern.com> Date: Mon, 2 Jul 2001 07:10:06 +0000 In-Reply-To: <000301c102be$19047990$21c9ca95@mow.siemens.ru> Comments: In reply to "Andrej Borsenkow" "RE: bracket expressions and POSIX" (Jul 2, 10:13am) References: <000301c102be$19047990$21c9ca95@mow.siemens.ru> X-Mailer: Z-Mail (5.0.0 30July97) To: "Zsh hackers list" Subject: Re: bracket expressions and POSIX MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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