Mailinglist Archive: opensuse (3441 mails)

< Previous Next >
Re: [opensuse] Globbing broken in bash in 11.1 (really serious bug)
  • From: Josef Wolf <jw@xxxxxxxxxxxxx>
  • Date: Wed, 14 Jan 2009 19:54:20 +0100
  • Message-id: <20090114185420.GA18088@xxxxxxxxxxxxxx>
On Wed, Jan 14, 2009 at 09:57:44AM -0800, Randall R Schulz wrote:
On Wednesday January 14 2009, Josef Wolf wrote:

$ echo /B*
$ echo /[A-C]*
/bin /boot

"If the shell option nocaseglob is enabled, the match is performed
without regard to the case of alphabetic characters."

Thanks to all who replied to this mail so far. But this is also with
nocaseglob=off and LC_COLLATE=C:

$ shopt|grep case
nocaseglob off
nocasematch off
$ LANG=C echo /[A-C]*
/bin /boot
$ LANG=C locale | grep COLLATE
LC_COLLATE="C"
$

So I still don't see a justification for such a behavior.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >