Email List: Xaustin-group-lX
[All Lists]

Re: AI 2000-05-010: proposed interface

To: Ulrich Drepper <yyyyyyy@xxxxxxxxxx>
Subject: Re: AI 2000-05-010: proposed interface
From: Keld Jørn Simonsen <yyyy@xxxxxxxx>
Date: Wed, 16 Aug 2000 21:08:37 +0200
Cc: Keld Jørn Simonsen <yyyy@xxxxxxxx>, "Sandra O'donnell USG" <yyyyyyyy@xxxxxxxxxxx>, yyyyyyyyyyyy@xxxxxxxxxxxxx
References: <m34s4mnwxl.fsf@otr.mynet.cygnus.com> <200008161437.KAA0000021777@oflume.zk3.dec.com> <20000816174110.A2744@rap.rap.dk> <m3ya1xfaht.fsf@otr.mynet.cygnus.com>
On Wed, Aug 16, 2000 at 09:15:26AM -0700, Ulrich Drepper wrote:
> Keld Jørn Simonsen <yyyy@xxxxxxxx> writes:
> 
> > In my mind [a-c] should include a A b B c C (and diacritcs).
> > New and novice users would expect that behaviour.
> 
> On which planet do you live?  People writing
> 
>       rm [a-z]*
> 
> don't want to see their file named IMPORTANT being removed.

Depends on who you are. Yes, people acustomed to the POSIX/C
locale would expect what you say, and given that no shells
or "rm" etc have been distributed widely in Linux that are
locale dependent, many Linux people would expect the POSIX
behaviour.

Novice people would expect [a-c] as all a's b's and c's
whether they are uppercase or lowercase.

> > It is only due to heritage from the POSIX/C locale that
> > some people expect it not to include the uppercase letters
> > and the diacritics.
> 
> Diacritics are OK.  But uppercase characters: no.  And its not just
> inheritance.  You apparently are not using the shell much.  It's a
> matter of convenience to be able to remove files based on this kind of
> classification.  And note: [a-c]  does not include aAbBcC.  It includes
> aAbBc or AaBbC.

I am saying it should include aAbBcC - this is a design issue.
I am an internationalization designer. But as you say, it is
implementation defined. I do run many shells all the time,
and I was not talking about my own expectations, but new and novice
users.

Kind regards
Keld

<Prev in Thread] Current Thread [Next in Thread>