X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4D7A4216.6010207@redhat.com> Date: Fri, 11 Mar 2011 08:39:02 -0700 From: Eric Blake User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 MIME-Version: 1.0 To: cygwin AT cygwin DOT com, tundra AT tundraware DOT com Subject: Re: 'tr' Bug References: <4D7A3FB8 DOT 3050004 AT tundraware DOT com> In-Reply-To: <4D7A3FB8.3050004@tundraware.com> OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig84C7F0D33228792096F92D17" 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 --------------enig84C7F0D33228792096F92D17 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/11/2011 08:28 AM, Tim Daneliuk wrote: > echo /opt/IBN/df | tr [A-Z] [a-z] >=20 > produces: >=20 > /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. --=20 Eric Blake eblake AT redhat DOT com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig84C7F0D33228792096F92D17 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJNekIWAAoJEKeha0olJ0Nq66YIAJ9+sAfj9Zd85QFAI0ZS92hM KOBxEk0IA6onAq0G74o4FZcaBFHbqTDq5shPIooxl1MiMNvwiYDeGwbCIIK7bALo VeuhRNRTnvPUy9R+FmuZ4ad8c02996pGBAiMLs0nVl/TrOnaiX1LOBqjK//o3Uh6 o2EpZKwLnSipcQHE/j9U3UE1Yy5ElGdX1AY47TUNMJtlZ7XW9pWvnsX/PX3gosEL bvM+702tGbZi4hiXwpCC+9BJ5GtiZSn4v4AsNK846sIM29mapjRKczypOrGFe177 HL7LWDz3raL/Ev+AUWbq8Ve2XBLcoY4Yhcj13wMu+8IUiL1c0IL0+sv09JxWscI= =+0qx -----END PGP SIGNATURE----- --------------enig84C7F0D33228792096F92D17--