Re: buildworld broken after installworld

From: Andrey Chernov <ache_at_nagual.pp.ru>
Date: Tue, 5 Aug 2003 01:44:44 +0400
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.

Received on Mon Aug 04 2003 - 12:44:48 UTC

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