bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: one last collating sequence data point


From: Bruce Korb
Subject: Re: one last collating sequence data point
Date: Sat, 27 Jan 2007 11:16:27 -0800
User-agent: Thunderbird 1.5.0.8 (X11/20060911)

Chet Ramey wrote:

> If LC_COLLATE is unset, LC_ALL and LANG both affect the collating order.

Neither of which were in the environment, but I didn't show that
"conclusively".  "Trust me" (really).  In any event, why would it be
that "bash" would use en_US and "ls" would use "C"?  Yes, it could
be an export issue, but I did show in a previous examples that
all LC_* variables plus LANG were not set.  Here is my standard
L* environment (NB: the LC_COLLATE is recently added):

$ set|egrep ^L
LC_COLLATE=C
LESS=-eMagis
LIBDIR=/home/usr/bkorb/Linux-i686/lib
LINES=63
LOGINLOG=/home/usr/bkorb/.hist/ZZLOGIN.log
LOGNAME=bkorb
$ env|egrep ^L
LOGINLOG=/home/usr/bkorb/.hist/ZZLOGIN.log
LIBDIR=/home/usr/bkorb/Linux-i686/lib
LC_COLLATE=C
LINES=63
LESS=-eMagis
LOGNAME=bkorb
$

There is an inconsistency and the cause is not readily discernible
by examining L* settings, exported or not.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]