[Top][All Lists]

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

Re: nocaseglob

From: Bruce Korb
Subject: Re: nocaseglob
Date: Mon, 22 Jan 2007 07:11:37 -0800

On 1/20/07, Bob Proulx <address@hidden> wrote:
I think you have the nocaseglob right.  I think this is a variable set
but not exported problem.  Just guessing though.

Excellent guess. No cigar, tho:

$ echo [a-z]*
bin bk-archives Bugzilla core cron Desktop [[...]]
$ LC_COLLATE=C echo [a-z]*
bin bk-archives Bugzilla core cron Desktop [[...]]
$ set | egrep '^L'
$ LC_COLLATE=C ; echo [a-z]*
bin bk-archives core cron [[...]]

I hope that is your problem.  A set but not exported LC_COLLATE
variable.  Definitely easy to miss.

Yep.  That is easy to miss.  Nope.  That's not the problem.
Apparently you are _REQUIRED_ to export LC_COLLATE with the value "C".
That's just wrong.  Was that really intended?  (I confess to having been using
ksh until recently, so if this is a long standing tradition, I
wouldn't have noticed.)

Thanks for your help - Bruce

reply via email to

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