delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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 <cgf-no-personal-reply-please AT cygwin DOT com> |
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 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |