Re: sort

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

 



On Thu, 2003-07-10 at 11:01, John Haxby wrote:
> Tom Ball wrote:
> 
> > Does anyone know where the reasoning behind the strange collating
> >
> >behavior in the en_US.UTF-8 locale?  No matter how I pre-sort the IP
> >list, en_US.UTF-8 collating still wants to put the "128.*" IP address
> >between two "12.*" ones.  This is even true on Solaris, so the problem
> >appears to be with the en_US.UTF-8 collation table, not the OS or its
> >collation code.
> >  
> >
> It's "dictionary order" by default which is what is natural to most 
> people.   It used to be that you had to use a special option to sort 
> (sort -df) to get this, now you get it by default.    I set my 
> LC_COLLATE to "C" in mt .bash_profile to get the old fashioned behaviour 
> because I like to get my Makefile at the beginning of the ls listing and 
> not half way through!

Hmmm, if they changed the default then they should have added an option
for a "non-dictionary order".  As it now stands, valid functionality was
removed.  Oh well, I guess I'm moving to the land of "C", too.

Tom




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux