bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sort seems deficient


From: Dr. David Alan Gilbert
Subject: Re: sort seems deficient
Date: Sun, 7 Sep 2008 20:10:14 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

* Jim Meyering (address@hidden) wrote:
> address@hidden wrote:
> > ??? I just used sort on a redhat Enterprise 5 server.
> >
> > ??? Sort seems to ignore leading "." characters.? This is incorrect.
> 
> How sort works depends on your locale.
> This link explains and tells you how to change that behavior:
> 
> http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Sort-does-not-sort-in-normal-order_0021

That explanation is somewhat unclear whether it's due to an unexpected
behaviour of the locale or the locale tables actually being broken.
I tried to read bits of the Unicode spec last time I hit this
and came away not being entirely sure whether it was actually
valid behaviour.

If someone could point to something which says 'you should sort
these non-alphanumeric characters like this' and the Linux one
doesn't then perhaps someone will fix it.

Dave
-- 
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    | Running GNU/Linux on Alpha,68K| Happy  \ 
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]