zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: globbing bug, 3.0.6
Date: Fri, 28 Apr 2000 13:24:58 +0200 (MET DST)	[thread overview]
Message-ID: <200004281124.NAA21650@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Peter Stephenson's message of Fri, 28 Apr 2000 10:06:03 +0100


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


             reply	other threads:[~2000-04-28 11:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-28 11:24 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-04-28  8:02 Sven Wischnowsky
2000-04-28  8:09 ` Andrej Borsenkow
2000-04-18 14:45 Trond Eivind Glomsrød
2000-04-18 14:52 ` Zefram
2000-04-18 15:34   ` Trond Eivind Glomsrød
2000-04-18 18:44 ` Chmouel Boudjnah
2000-04-27 19:11   ` Trond Eivind Glomsrød
2000-04-28  1:01     ` Bart Schaefer
2000-04-28  5:42       ` Andrej Borsenkow
2000-04-28  9:06       ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200004281124.NAA21650@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).