From owner-freebsd-current@FreeBSD.ORG Mon May 30 19:33:08 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCBFF16A41C for ; Mon, 30 May 2005 19:33:08 +0000 (GMT) (envelope-from alecsk@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63DC043D4C for ; Mon, 30 May 2005 19:33:08 +0000 (GMT) (envelope-from alecsk@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so1934097wra for ; Mon, 30 May 2005 12:33:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition:user-agent; b=EVAq/NbKGRhISHb/4BPCgaSVAzJAIhVaS849KROyUW9GUI4mdr1E09oxg33WHS/ewBqz6rxc+G/m81Muj3/w+KwBnXJxLSGmi1e+2k0Ib+E0/CSmKksvwWi+pIkUoTf1oEMM3PRhtmX+uV7jCfSS+vhkxd7AJgHJhyvMsCuzQaw= Received: by 10.54.52.61 with SMTP id z61mr2748240wrz; Mon, 30 May 2005 12:33:07 -0700 (PDT) Received: from localhost ([210.77.2.13]) by mx.gmail.com with ESMTP id d8sm734932wra.2005.05.30.12.33.05; Mon, 30 May 2005 12:33:07 -0700 (PDT) Date: Tue, 31 May 2005 03:37:11 +0800 From: Alecs King To: freebsd-current@freebsd.org Message-ID: <20050530193711.GA10259@alc.bsd.st> Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Subject: [grep bug?] -i odd behavior on multibyte locale X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 May 2005 19:33:08 -0000 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 [alecs@~]$ export LC_CTYPE=C [alecs@~]$ echo a | grep -i A a [alecs@~]$ echo a | grep -i a a [alecs@~]$ echo A | grep -i A A [alecs@~]$ echo A | grep -i a A -- Alecs King