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.

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to