buildworld broken after installworld

Ruslan Ermilov ru at freebsd.org
Mon Aug 4 14:56:11 PDT 2003


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030805/ce89d664/attachment.bin


More information about the freebsd-current mailing list