tr A-Z a-z
Christoph P. Kukulies
kuku at kukulies.org
Fri May 7 04:08:47 PDT 2004
On Fri, May 07, 2004 at 03:57:25AM -0500, vxla at nxio.us wrote:
> On Fri, 2004-05-07 at 10:53:01 +0200, Christoph Kukulies proclaimed...
>
> > Strange: I was used to do upper case lower case conversion always like this
> > and it suddenly doesn't work anymore:
> >
> > $ echo Z | tr "[A-Z]" "[a-z]"
>
> Works fine for me. However, maybe this would help?
>
> echo Z | tr [:upper:] [:lower:]
Yes, that's how I also worked around it but it is dissatisfying :-)
$LANG=en_US.ISO_8859-1
$LOCALE=
$SHELL=/bin/sh
stty -a
speed 9600 baud; 36 rows; 80 columns;
lflags: icanon isig iexten echo echoe echok echoke -echonl echoctl
-echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
-extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
brkint -inpck -ignpar -parmrk
oflags: opost onlcr -ocrnl -oxtabs -onocr -onlret
cflags: cread cs7 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow
-dtrflow -mdmbuf
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
eol2 = <undef>; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U;
lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;
FreeBSD-5.2.1 as well a half year old 5.2-current
--
Chris Christoph P. U. Kukulies kuku_at_kukulies.org
More information about the freebsd-questions
mailing list