I gather that the default collation sequence compiled into glibc in Red
Hat 7.2 or later is whatever comes with en_US, which basically tries to
make the system case insensitive in many respects.  I suspect it's
trying to be more appealing to people migrating from Windows. <shrug>

One symptom is that "echo [A-Z]*" is the same as "echo [A-Za-z]*" !!!

To revert to traditional behaviour, put this into your
/etc/profile.d/local.sh:

LC_COLLATE="C"       export LC_COLLATE

I stumbled over this when sending a set of files to the printer, and
found every file printed twice.  A colleague at work knew more of the
background, and the fix.

luke



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to