[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 <bob@proulx.com> 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'
LESS=-eMagis
LIBDIR=/home/usr/bkorb/Linux-i686/lib
LINES=70
LOGNAME=bkorb
$ LC_COLLATE=C ; echo [a-z]*
bin bk-archives core cron [[...]]
$ echo $BASH_VERSION
3.1.17(1)-release
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
- nocaseglob, Bruce Korb, 2007/01/20
- Re: nocaseglob, Andreas Schwab, 2007/01/20
- Re: nocaseglob, Bob Proulx, 2007/01/20
- Re: nocaseglob,
Bruce Korb <=
- Re: nocaseglob, Bob Proulx, 2007/01/22
- Re: nocaseglob, Bruce Korb, 2007/01/22
- Re: nocaseglob, Tim Waugh, 2007/01/22
- Re: nocaseglob, Chet Ramey, 2007/01/23
- Re: nocaseglob, Bruce Korb, 2007/01/23
- Re: nocaseglob, Matthew Woehlke, 2007/01/23
- Re: nocaseglob, Andreas Schwab, 2007/01/23
- Re: nocaseglob, Tim Waugh, 2007/01/23
- Re: nocaseglob, Chet Ramey, 2007/01/23
- Re: nocaseglob, Bob Proulx, 2007/01/23