From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23462 invoked from network); 28 Apr 2000 11:25:10 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 28 Apr 2000 11:25:10 -0000 Received: (qmail 6071 invoked by alias); 28 Apr 2000 11:25:02 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11004 Received: (qmail 6029 invoked from network); 28 Apr 2000 11:25:02 -0000 Date: Fri, 28 Apr 2000 13:24:58 +0200 (MET DST) Message-Id: <200004281124.NAA21650@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Peter Stephenson's message of Fri, 28 Apr 2000 10:06:03 +0100 Subject: Re: globbing bug, 3.0.6 Peter Stephenson wrote: > > I don't want to change this in 3.0.8 unless it's also changing in 3.1.7 > > or soon thereafter. What's the verdict on this one, folks? Apparently > > bash behaves as zsh does now, but that's not a conclusive argument. > > I hesitate to reply, since I seem to be missing something, but as far as > I'm concerned, zsh 3.1.7 just uses straightforward character range > comparisons (not POSIX collation) with ordinary ranges such as [A-Z], but > uses whatever the system tells it with special classes such as [[:upper:]] > (this comes straight from ctype, not the zsh type macros), and this has > been the case for the past couple of versions. Does anyone have evidence > to the contrary? ;-) I didn't reply to Andrej's reply to my mail because I had a look at pattern.c after that and found the same. And no, I've never seen that behaviour myself, but I don't use locales anyway, so... The only thing that's really still there is the call to strcoll() in the sorting function in glob.c. > Barring a new option, is that the best default behaviour? > Does anyone want an option POSIX_RANGES to restore full POSIX behaviour, > despite the drawbacks? Personally I don't care about conformance to any standard (in this respect, at least) or compatibility to other shells. I just wanted say that /if/ we do it, we should make it configurable and shouldn't make it the default. Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de