Re: buildworld broken after installworld

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Mon, 4 Aug 2003 23:32:19 +0300
On Mon, Aug 04, 2003 at 08:58:00PM +0200, Dag-Erling Sm?rgrav wrote:
> Ruslan Ermilov <ru_at_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_at_sunbay.com		Sunbay Software Ltd,
ru_at_FreeBSD.org		FreeBSD committer

Received on Mon Aug 04 2003 - 11:32:45 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:17 UTC