X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0	tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Message-ID: <4D7A421C.7070407@ateb.com>
Date: Fri, 11 Mar 2011 10:39:08 -0500
From: Reid Thompson <Reid.Thompson@ateb.com>
Reply-To: Reid.Thompson@ateb.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.15) Gecko/20110309 Lightning/1.0b2 Thunderbird/3.1.9
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: 'tr' Bug
References: <4D7A3FB8.3050004@tundraware.com>
In-Reply-To: <4D7A3FB8.3050004@tundraware.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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

