From owner-freebsd-current Tue Nov 19 4:52:25 2002 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 75AA237B416; Tue, 19 Nov 2002 04:52:23 -0800 (PST) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEF5C43E97; Tue, 19 Nov 2002 04:52:17 -0800 (PST) (envelope-from ru@whale.sunbay.crimea.ua) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Sunbay) with ESMTP id gAJCq2hF039058 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 19 Nov 2002 14:52:02 +0200 (EET) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.6/8.12.6/Submit) id gAJCq2AR039053; Tue, 19 Nov 2002 14:52:02 +0200 (EET) Date: Tue, 19 Nov 2002 14:52:02 +0200 From: Ruslan Ermilov To: "David O'Brien" Cc: Andrey Chernov , current@FreeBSD.org Subject: awk(1) is locale unaware (was: Re: buildworld breakage during "make depend" at usr.bin/kdump) Message-ID: <20021119125202.GA37987@sunbay.com> References: <20011101220836.A76061@nagual.pp.ru> <91693.1004642592@axl.seasidesoftware.co.za> <20011101114213.F79520@dragon.nuxi.com> <20011102044411.A81844@nagual.pp.ru> <20011101175808.A82798@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: <20011101175808.A82798@dragon.nuxi.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 01, 2001 at 05:58:08PM -0800, David O'Brien wrote: > On Fri, Nov 02, 2001 at 04:44:12AM +0300, Andrey A. Chernov wrote: > > Next bad thing discovered about new awk just looking at sourse code: it > > not support locale (collating in regexp ranges too, of course). We just > > make great backward step switching to it. >=20 > I have a patch for that. >=20 It seems that this patch has never been committed. This is a critical bug that should be fixed before 5.0-RELEASE is out. /usr/bin/env LC_ALL=3Dcs_CZ.ISO8859-2 sh -c "echo a | grep '[A-Z]'" /usr/bin/env LC_ALL=3Dcs_CZ.ISO8859-2 sh -c "echo a | awk '/[A-Z]/ {print}'" On a related note, fixing this bug would extrapolate PR misc/45460 to 5.0-CURRENT as well. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE92jPyUkv4P6juNwoRAouxAKCDgJQt7AMLZHxIOJXH0WQfhGqp3QCePaTj 0xL3Jt/GmAVxcPjYek7Q6Yc= =D/ne -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message