Re: ls sort order again

2006-10-17 Thread Larry Irwin
The environment variables LANG and LC_COLLATE control sort order and regex pattern matching expansion. See files: /etc/environment and possibly /etc/profile (if edited...) LC_COLLATE is set via LANG (or LANGUAGE) unless overridden via the shell. Use the command "locale" to see the current values.

Re: ls sort order again

2006-10-17 Thread T
On Mon, 16 Oct 2006 21:11:12 -0500, cothrige wrote: > * Ben Breslauer ([EMAIL PROTECTED]) wrote: >> T wrote: >> >Hi >> > >> >I am using Debian testing, I read that the ls is able to sort >> >alphabetically, but mixes uppercase and lowercase together i.e. 'Pearl' >> >comes before 'pearl' but after

Re: ls sort order again

2006-10-17 Thread cothrige
* Ben Breslauer ([EMAIL PROTECTED]) wrote: > T wrote: > >Hi > > > >I am using Debian testing, I read that the ls is able to sort > >alphabetically, but mixes uppercase and lowercase together i.e. 'Pearl' > >comes before 'pearl' but after 'otter'. > > > >otter > >Pearl > >pearl > > > >I want that be

Re: ls sort order again

2006-10-16 Thread Vincent Lefevre
On 2006-10-17 06:11:59 +0400, Rad wrote: > I think there're unicode. This is not directly related to Unicode (this also happens with ISO8859-1), but to a language. > Try this: > > export LC_COLLATE=C and this will also fix the hyphen-minus problem: vin:~> printf '%s\n' 1-2 1-3 12 13 | LC_COLLA

Re: ls sort order again

2006-10-16 Thread Rad
I think there're unicode. Try this: export LC_COLLATE=C

Re: ls sort order again

2006-10-16 Thread Ben Breslauer
T wrote: Hi I am using Debian testing, I read that the ls is able to sort alphabetically, but mixes uppercase and lowercase together i.e. 'Pearl' comes before 'pearl' but after 'otter'. otter Pearl pearl I want that behavior. How can I do that, instead of the traditional order? I'm using tes

ls sort order again

2006-10-16 Thread T
Hi I am using Debian testing, I read that the ls is able to sort alphabetically, but mixes uppercase and lowercase together i.e. 'Pearl' comes before 'pearl' but after 'otter'. otter Pearl pearl I want that behavior. How can I do that, instead of the traditional order? thanks -- Tong (remove