buildworld broken after installworld
Ruslan Ermilov
ru at freebsd.org
Mon Aug 4 13:32:46 PDT 2003
On Mon, Aug 04, 2003 at 08:58:00PM +0200, Dag-Erling Sm?rgrav wrote:
> Ruslan Ermilov <ru at freebsd.org> writes:
> > > For example, this result is right and not the bug (but wrong tr usage):
> > >
> > > env LANG=de_DE.ISO8859-1 tr '[a-z]' '[A-Z]'
> > > vi_zero
> > > WI_]ERO
> > Clearly this is a useless construct then.
>
> The correct construct is tr '[:lower:]' '[:upper:]'
>
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.
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-standards/attachments/20030804/964527de/attachment.bin
More information about the freebsd-standards
mailing list