Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Sat, 5 Mar 2005 21:31:16 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Bug cat 5.2.1. No \ supported Message-ID: <20050306023116.GB5140@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <20050306021356 DOT 8BEA021016A AT warserver DOT warande DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050306021356.8BEA021016A@warserver.warande.net> User-Agent: Mutt/1.4.2.1i 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/