Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2002 14:52:02 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        "David O'Brien" <obrien@FreeBSD.org>
Cc:        Andrey Chernov <ache@FreeBSD.org>, 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>
In-Reply-To: <20011101175808.A82798@dragon.nuxi.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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




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