From: teg@redhat.com (Trond Eivind Glomsrød)
To: Chmouel Boudjnah <chmouel@mandrakesoft.com>
Cc: zsh-workers@sunsite.auc.dk
Subject: Re: globbing bug, 3.0.6
Date: 27 Apr 2000 15:11:53 -0400 [thread overview]
Message-ID: <xuy1z3rcq9y.fsf@hoser.devel.redhat.com> (raw)
In-Reply-To: Chmouel Boudjnah's message of "18 Apr 2000 11:44:26 -0700"
Chmouel Boudjnah <chmouel@mandrakesoft.com> writes:
> teg@redhat.com (Trond Eivind Glomsrød) writes:
>
> > hoser% rpm -q zsh
> > zsh-3.0.7-4
> > hoser% echo $ZSH_VERSION
> > 3.0.7
> > hoser% cat /etc/redhat-release
> > Red Hat Linux release 6.2 (Zoot)
> > hoser% ls
> > AA AC AE BB BD CA CC CE ab ad ba bc be cb cd da dc de
> > AB AD BA BC BE CB CD aa ac ae bb bd ca cc ce db dd
> > hoser% ls [A-C]*
> > AA AC AE BB BD CA CC CE ab ad ba bc be
> > AB AD BA BC BE CB CD aa ac ae bb bd
> > hoser%
>
> it's the POSIX standard behavior when locale setting is set.
Yes. http://wwwold.dkuug.dk/jtc1/sc22/wg20/docs/n634.txt:
************************************************************************
(1) Once special characters (punctuation) have been removed
from original strings, the ordering is determined by
scanning forward (left to right) [disregarding case and
diacriticals].
************************************************************************
And that's horribly broken IMHO. At least, I think it's broken in
shell expansion (translates to: "it's not what I'm used to, it's
different in different locales (POSIX vs. the rest, including en_US),
it makes deleting just uppercase filenames in a range hard")
--
Trond Eivind Glomsrød
Red Hat, Inc.
next prev parent reply other threads:[~2000-04-27 19:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2000-04-28 1:01 ` Bart Schaefer
2000-04-28 5:42 ` Andrej Borsenkow
2000-04-28 9:06 ` Peter Stephenson
2000-04-28 8:02 Sven Wischnowsky
2000-04-28 8:09 ` Andrej Borsenkow
2000-04-28 11:24 Sven Wischnowsky
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=xuy1z3rcq9y.fsf@hoser.devel.redhat.com \
--to=teg@redhat.com \
--cc=chmouel@mandrakesoft.com \
--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).