atom feed6 messages in org.freebsd.freebsd-stablecorrect value for LANG variable
FromSent OnAttachments
Björn KönigJan 22, 2005 7:52 am 
Tim RobbinsJan 22, 2005 8:41 am 
Michael NottebrockJan 22, 2005 9:09 am 
Björn KönigJan 22, 2005 9:13 am 
Björn KönigJan 22, 2005 9:29 am 
Tim RobbinsJan 22, 2005 4:52 pm 
Subject:correct value for LANG variable
From:Michael Nottebrock (mich@gmx.net)
Date:Jan 22, 2005 9:09:18 am
List:org.freebsd.freebsd-stable

On Saturday, 22. January 2005 16:52, Bj?rn K?nig wrote:

I am a bit confused. Neither de_DE.ISO-8859-1 nor de_DE.ISO8859-1 work properly in all cases.

setenv LANG de_DE.ISO8859-1 echo abcdef uvwxyz | tr '[a-z]' '[A-Z]'

ABCDEF ?WXY?]

This is the correct locale name, but don't use tr like that, you can't rely on that to work correctly with charsets which aren't symmetric in lower&uppercase characters (it used to work at some point for the ISO8859-1 [5] locales but ceased after a POSIX related modification to tr).

Use tr [:lower:] [:upper:] instead.