This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Bug cat 5.2.1. No \ supported
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 5 Mar 2005 21:31:16 -0500
- Subject: Re: Bug cat 5.2.1. No \ supported
- References: <20050306021356.8BEA021016A@warserver.warande.net>
- Reply-to: cygwin at cygwin dot com
On Sun, Mar 06, 2005 at 03:13:52AM +0100, Arend-Jan Westhoff wrote:
>When I executed the following command it failed:
>
>cat ..\..\diff\separateDirDiffs20050304\*.bat
>cat: ....diffseparateDirDiffs20050304*.bat: No such file or directory
The backslash character is a special character in UNIX shells. You need
to either quote this or double it if you want the backslash to be passed
to the program.
However, even once you quote the character, you'll find that wildcards
do not work right in the presence of a '\'. Remember that cygwin's
purpose is to provide a linux-like environment for windows. '\' is not
a path separator on linux so few cygwin programs will deal properly with
wildcards like '..\..\diff\separateDirDiffs20050304'\\*.bat .
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/