From owner-freebsd-current@FreeBSD.ORG Mon Aug 4 14:44:48 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED14337B404; Mon, 4 Aug 2003 14:44:48 -0700 (PDT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4295A43FBD; Mon, 4 Aug 2003 14:44:47 -0700 (PDT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.9/8.12.9) with ESMTP id h74LiiYk055551; Tue, 5 Aug 2003 01:44:45 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.9/8.12.9/Submit) id h74Liil2055550; Tue, 5 Aug 2003 01:44:44 +0400 (MSD) Date: Tue, 5 Aug 2003 01:44:44 +0400 From: Andrey Chernov To: Ruslan Ermilov Message-ID: <20030804214444.GA55421@nagual.pp.ru> 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> <20030804203219.GF1445@sunbay.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline In-Reply-To: <20030804203219.GF1445@sunbay.com> User-Agent: Mutt/1.5.4i cc: Dag-Erling Sm?rgrav cc: standards@freebsd.org cc: current@freebsd.org Subject: Re: buildworld broken after installworld X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 21:44:49 -0000 --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iQCVAwUBPy7TzOJgpPLZnQjrAQETBgP9Hpw6mUi64E9CrflJ27KLa02CAUYJZdWO /l/hlZBEceP+H1bzGD1DMdTd709mOPBNLkV2YgKkAkeQR4WfuT0ygRNqEZ6QwAI5 dETIvOYsCZ4cV6SbOoDeyYEDGSIg85I9GOaenJ+C3DjXDEBJvyXhr2GvPi0OULU4 UCF54dePDQI= =vUpW -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND--