Re: Collating order

2005-04-10 Thread Ole Laursen
[EMAIL PROTECTED] (Bob Proulx) writes: It is not that I don't want to do anything about it. It is that I can't do anything about it. The locale is set by the user. I have no control over it. (Sometimes the locale is set by the distro vendor without the user's knowledge or control. That

Re: Collating order

2005-04-08 Thread Bob Proulx
. For the locale data the book collating order is the default. I think we are in violent agreement. I think what you really want to do is to create your own locale where the collating sequence is normal while still providing you with localization. Bob ___ Bug

Re: Collating order

2005-04-06 Thread Ole Laursen
[EMAIL PROTECTED] (Bob Proulx) writes: I guess the problem is that the dot has a different meaning in the context of file names so ls should try to do something clever like splitting the extension from the basename and sort the basenames first. The dot has no special meaning in

Collating order

2005-04-05 Thread Ole Laursen
Hi, Apparently, the way ls sort the file names does not work with a localised sorting order. For instance, with a en_US locale, I get: ~$ mkdir t cd t ~/t$ touch event.C event.h eventgenerator.C eventgenerator.h ~/t$ LANG=en_US ls -1 event.C eventgenerator.C eventgenerator.h

Re: Collating order

2005-04-05 Thread James Youngman
On Tue, Apr 05, 2005 at 12:11:28PM +0200, Ole Laursen wrote: ~/t$ LANG=en_US ls -1 event.C eventgenerator.C eventgenerator.h event.h In other words, these sort as if they were eventc eventgeneratorc eventgeneratorh eventh I guess the problem is that the dot has a different