[TriLUG] RH 7.2 bash 2.05.8(1) whacked?

Jeremy P jeremyp at pobox.com
Mon Feb 4 15:31:25 EST 2002


On Mon, 4 Feb 2002, Rodent of Unusual Size wrote:

> James Manning wrote:
> > 
> > [Rodent of Unusual Size]
> > > Anyone else seen this?  Or have a suggestion on how to proceed?
> > 
> > sounds like the LANG/LC/etc settings issues.  iirc, LC_SORT=C
> > LANG=C, or something like that.  I forget :)
> 
> *@&#*(&@!!!  LANG="en_US", LC_COLLATE=(not set).  Changing
> to LC_COLLATE=C fixed things -- but that's freakin' non-obvious.
> Useta work, didna change anything -- except the OS upgrade. :-(
> 

That's curious.  On my RH 7.2 system (upgraded):

jeremy at students $ mkdir -p /tmp/test; cd /tmp/test
jeremy at students /tmp/test $ touch A B C a b c
jeremy at students /tmp/test $ echo *
A B C a b c
jeremy at students /tmp/test $ echo $LC_COLLATE

jeremy at students /tmp/test $ echo $LANG   
en_US

So even though LC_COLLATE isn't set, the sorting works fine.

I agree, this stuff is freaking non-obvious.

--Jeremy




More information about the TriLUG mailing list