Re: [grep bug?] -i odd behavior on multibyte locale

From: Tim Robbins <tim_at_robbins.dropbear.id.au>
Date: Tue, 31 May 2005 22:56:12 +1000
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_at_~]$ echo $LC_CTYPE
> zh_CN.GBK
> [alecs_at_~]$ echo a | grep -i A
> a
> [alecs_at_~]$ echo a | grep -i a
> a
> [alecs_at_~]$ echo A | grep -i A	# XXX
> [alecs_at_~]$ 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
Received on Tue May 31 2005 - 10:53:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:35 UTC