This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 'tr' Bug


On 03/11/2011 10:28 AM, Tim Daneliuk wrote:
echo /opt/IBN/df | tr [A-Z] [a-z]

produces:

/opt/xxx/df

not:

/opt/ibn/df

Both Linux and FreeBSD produce correct results.  Is this a known
'tr' bug?


$ env|grep LANG
LANG=en_US.UTF-8
GDM_LANG=en_US.UTF-8
[10:38:15] rthompso@raker>~
$ uname -a
Linux raker 2.6.36-gentoo-r5 #1 SMP PREEMPT Tue Jan 4 15:04:48 EST 2011 i686 Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz GenuineIntel GNU/Linux
[10:38:18] rthompso@raker>~
$ echo /opt/IBN/df | tr [A-Z] [a-z]
/opt/IBN/df
[10:38:22] rthompso@raker>~
$ tr --version
tr (GNU coreutils) 8.7
Packaged by Gentoo (8.7 (p1))
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.


Written by Jim Meyering.
[10:38:25] rthompso@raker>~

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]