Rodent of Unusual Size said:

> Something seems *really* whacked out with bash wildcards.
> Firstly they aren't being listed in case-sensitive lexical
> order (A B C a b c) they way they should be, and secondly
> ranges are *really* screwed up:

Welcome to the new default behavior of posixly-correct programs.
You'll probably also notice that the output of ls is bizarre too.
This has come up 3 or 4 times before on the list...
The problem is that Red Hat, and probably other vendors, have changed
the default locale.  It used to be "C" but is now "en_US" if you are
in the United States and using English as your language.  This causes
certain functions which sort to use the defined behavior for that
locale, rather than what you're accustomed to.  The behavior is
"technically correct" as defined by standards, but totally not what
you're accustomed to.

> Anyone else seen this?  Or have a suggestion on how to proceed?

LANG=en_US
LC_COLLATE=C
export LANG LC_COLLATE

Have a nice day!

-- 
Derek Martin
Senior System Administrator
Mission Critical Linux
[EMAIL PROTECTED]


*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to