On Mon, Aug 04, 2003 at 08:58:00PM +0200, Dag-Erling Sm?rgrav wrote: > Ruslan Ermilov <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED] Sunbay Software Ltd, [EMAIL PROTECTED] FreeBSD committer
pgp00000.pgp
Description: PGP signature