[Top][All Lists]

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

Re: ls sort order bug

From: David T-G
Subject: Re: ls sort order bug
Date: Sat, 23 Nov 2002 11:16:07 -0500
User-agent: Mutt/1.4i

Matthew --

...and then Matthew Vanecek said...
% David,
% Thanks for you reply.  I did a little poking around, based on your

Sure thing!

% advice about LANG.  (BTW, I do have v4.1).  I set my LANG to the POSIX
% English setting (C) instead of American English (en_US), and now ls
% works like I know and love.  I appreciate your reply and apologize for

Good :-)  I know *exactly* how you feel.

% considering it a bug in ls.  I may have to submit a patch to (someone)
% to correct the behavior when LANG=en_US.  That's just very frustrating

Hmmm...  I think that "correct" is the wrong term here, since en_US
defines case insensitivity (IIRC).  Yeah, you might patch it, but I
should think that setting LC_COLLATE would be easier :-)

% (where's README!! why is it with rpm!!).  Until that's fixed, I think
% I'll try POSIX English.

Sounds like a good idea.  Note that you can have your LANG set to one
thing, your LC_COLLATE to another, and so on; your numbers could still
have commas for decimals rather than thousands separators while your
output sorted as you expect.

% Thanks.

Sure thing!


David T-G                      * There is too much animal courage in 
(play) address@hidden * society and not sufficient moral courage.
(work) address@hidden  -- Mary Baker Eddy, "Science and Health"
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: pgpO0Ltk_yb1k.pgp
Description: PGP signature

reply via email to

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