X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4D7A434A.3030109@tundraware.com> Date: Fri, 11 Mar 2011 09:44:10 -0600 From: Tim Daneliuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: 'tr' Bug References: <4D7A3FB8 DOT 3050004 AT tundraware DOT com> <4D7A4216 DOT 6010207 AT redhat DOT com> In-Reply-To: <4D7A4216.6010207@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: p2BFiAEb081495 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra AT tundraware DOT com X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 3/11/2011 9:39 AM, Eric Blake said this: > On 03/11/2011 08:28 AM, Tim Daneliuk wrote: >> echo /opt/IBN/df | tr [A-Z] [a-z] >> >> produces: >> >> /opt/xxx/df > > Let me guess - you have a file named 'x' in the current directory. > > Quote your arguments, so that the shell won't glob them: > > echo /opt/IBN/df | tr '[A-Z]' '[a-z]' > > This is not cygwin-specific. > OK, then why the "correct" behavior on FreeBSD 8.2 and RHEL 5.5, both running bash I wonder ... -- ------------------------------------------------------------------------ Tim Daneliuk tundra AT tundraware DOT com -- 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