Date: Mon, 4 Aug 2003 23:32:19 +0300 From: Ruslan Ermilov <ru@freebsd.org> To: Dag-Erling Sm?rgrav <des@des.no> Cc: current@freebsd.org Subject: Re: buildworld broken after installworld Message-ID: <20030804203219.GF1445@sunbay.com> In-Reply-To: <xzpu18xp7wn.fsf@dwp.des.no> References: <20030804195135.0562a9a2.yosimoto@waishi.jp> <20030804114723.GB39384@sunbay.com> <20030804223833.6c9a6718.yosimoto@waishi.jp> <20030804134636.GA39138@nagual.pp.ru> <20030804135713.GA39289@nagual.pp.ru> <20030804140332.GA39367@nagual.pp.ru> <20030804141858.GB60105@sunbay.com> <xzpu18xp7wn.fsf@dwp.des.no>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Mon, Aug 04, 2003 at 08:58:00PM +0200, Dag-Erling Sm?rgrav wrote: > Ruslan Ermilov <ru@freebsd.org> writes: > > > For example, this result is right and not the bug (but wrong tr usage): > > > > > > env LANG=de_DE.ISO8859-1 tr '[a-z]' '[A-Z]' > > > vi_zero > > > WI_]ERO > > Clearly this is a useless construct then. > > The correct construct is tr '[:lower:]' '[:upper:]' > I think we've now reached the agreement with Andrey that a more correct, safe, and portable [sic] construct would be "LC_ALL=C tr [:lower:] [:upper:]". It works the same in any non-broken operating system and with any locale. Cheers, -- Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD4DBQE/LsLTUkv4P6juNwoRAk6fAJ0cISVutLIpWWirid3wwA9qiOOvrACYkoUy l20+VR7fAl4zKANdA6q5TQ== =C/Ie -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030804203219.GF1445>
