Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 May 2005 22:56:12 +1000
From:      Tim Robbins <tim@robbins.dropbear.id.au>
To:        freebsd-current@freebsd.org
Subject:   Re: [grep bug?] -i odd behavior on multibyte locale
Message-ID:  <20050531125612.GA61455@cat.robbins.dropbear.id.au>
In-Reply-To: <20050530193711.GA10259@alc.bsd.st>
References:  <20050530193711.GA10259@alc.bsd.st>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 31, 2005 at 03:37:11AM +0800, Alecs King wrote:
> 6.0-current as of May 27.
> world cvsup'd & built at May 25.
> 
> [alecs@~]$ echo $LC_CTYPE
> zh_CN.GBK
> [alecs@~]$ echo a | grep -i A
> a
> [alecs@~]$ echo a | grep -i a
> a
> [alecs@~]$ echo A | grep -i A	# XXX
> [alecs@~]$ echo A | grep -i a	# XXX
[...]

I've just checked a fix for this in to -CURRENT. Please let me know
if this doesn't solve the problem, or if you run into further problems.


Tim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050531125612.GA61455>