From owner-freebsd-current@FreeBSD.ORG Mon Aug 4 14:56:11 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 1EB9937B401; Mon, 4 Aug 2003 14:56:11 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27FAA43F85; Mon, 4 Aug 2003 14:56:07 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h74Ltv0U013193 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Aug 2003 00:55:57 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h74LtvpB013192; Tue, 5 Aug 2003 00:55:57 +0300 (EEST) (envelope-from ru) Date: Tue, 5 Aug 2003 00:55:57 +0300 From: Ruslan Ermilov To: Andrey Chernov Message-ID: <20030804215557.GJ1445@sunbay.com> 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> <20030804214444.GA55421@nagual.pp.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vbzKE9fGfpHIBC6T" Content-Disposition: inline In-Reply-To: <20030804214444.GA55421@nagual.pp.ru> 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:56:11 -0000 --vbzKE9fGfpHIBC6T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: >=20 > > I think we've now reached the agreement with Andrey that > > a more correct, safe, and portable [sic] construct would > > be "LC_ALL=3DC tr [:lower:] [:upper:]". It works the same > > in any non-broken operating system and with any locale. >=20 > We need to say, construct for what? If for lower->upper replacing inside > ASCII only, "LC_ALL=3DC 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=3DC tr a-z A-Z" is better middle point here because not teach user > to incorrect syntax from the scripts. >=20 Agreed. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --vbzKE9fGfpHIBC6T Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/LtZtUkv4P6juNwoRAlAxAJ9QMjVt/yShinOw22t7rwHQIYN/3gCeN+Q/ txdCMH/5lSXdU7jBNDAmKDs= =/dBN -----END PGP SIGNATURE----- --vbzKE9fGfpHIBC6T--