Under RedHat 6.0, sort has (for me anyway) followed POSIX-specified behavior of case-sensitive sorting. Doing a fresh install of Redhat 6.1 (and selecting en_US during install) causes sort to do case-insensitive searches. Upgrading an existing RedHat 6.0 system to RH 6.1 does not alter sort's behavior (ie, it remains case-sensitive). It appears the new textutils package improperly uses the "locale" setting. (IMO anyway -- I think sort should *always* default to case-sensitive sorting to maintain compatibility with other distros / Unices) Is there a fix for this? If not, how can I change the locale on a RH 6.1 box?
I've changed /etc/sysconfig/i18n to {LANG,LC_ALL,LINGUAS}=POSIX (from en_US) for now. This seems to be a decent workaround.
Sort is correctly following the LC_COLLATE settings in the en_US locale. However, the correctness of those locale settings is a matter of question....
*** This bug has been marked as a duplicate of 6569 ***