[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: sort weirdness
- From: Chris Kloiber <ckloiber redhat com>
- To: <guinness-list redhat com>
- Subject: Re: sort weirdness
- Date: Thu, 1 Mar 2001 12:23:55 -0500 (EST)
On Thu, 1 Mar 2001, Michael George wrote:
> I have two systems that have been upgraded to RHL 7.0. One from 6.1, the
> other from 6.2.
>
> One one system, sort will sort lines in a file as I would expect from the
> past: capital letters preceed all lower-case letters. However, on the other
> one, it treats all letters as lower-case, as though the "-f" flag were set,
> but it's not.
>
> I've check the man page and the info page and found nothing there. I suspect
> that the difference may lie in the LC_{CTYPE,COLLATE} files, but I don't know
> how to check/manipulate them. Can someone point me in the right direction?
I think this come up recently.
Try setting LC_COLLATE=C and see if that clears things up. This has to do
with the full integration of the i18 (internationalization) stuff.
Basically the default has been changed to the way your language sorts.
Setting it equal to 'C' means to sort the way the C compiler has always
done. If this works, put it in it's own file in /etc/profile.d and it will
do it for you always.
Chris Kloiber
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]