Re: buildworld broken after installworld

From: Ruslan Ermilov <ru_at_freebsd.org>
Date: Tue, 5 Aug 2003 00:55:57 +0300
On Tue, Aug 05, 2003 at 01:44:44AM +0400, Andrey Chernov wrote:
> On Mon, Aug 04, 2003 at 23:32:19 +0300, Ruslan Ermilov wrote:
> 
> > 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.
> 
> We need to say, construct for what? If for lower->upper replacing inside
> ASCII only, "LC_ALL=C tr [a-z] [A-Z]" is most portable because some tr
> implementations even not understand [:class:] but some other have SysV-ism
> to specify ranges in the [], against what POSIX says. But I think that
> "LC_ALL=C tr a-z A-Z" is better middle point here because not teach user
> to incorrect syntax from the scripts.
> 
Agreed.


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 - 12:56:11 UTC

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