delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/06/15:23:12

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 6 Feb 2001 15:22:24 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problem w/ cygwin tar.exe: Unable to tar directories beginnin g w/ the letter 'R' in NT 4.0
Message-ID: <20010206152224.F9005@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4 DOT 3 DOT 1 DOT 2 DOT 20010206145452 DOT 019ba320 AT pop DOT ma DOT ultranet DOT com> <17B78BDF120BD411B70100500422FC6309E1F1 AT IIS000> <4 DOT 3 DOT 1 DOT 2 DOT 20010206145452 DOT 019ba320 AT pop DOT ma DOT ultranet DOT com> <20010206150831 DOT D9005 AT redhat DOT com> <4 DOT 3 DOT 1 DOT 2 DOT 20010206151048 DOT 019a7780 AT pop DOT ma DOT ultranet DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <4.3.1.2.20010206151048.019a7780@pop.ma.ultranet.com>; from lhall@rfk.com on Tue, Feb 06, 2001 at 03:12:13PM -0500

On Tue, Feb 06, 2001 at 03:12:13PM -0500, Larry Hall (RFK Partners, Inc) wrote:
>At 03:08 PM 2/6/2001, Christopher Faylor wrote:
>>On Tue, Feb 06, 2001 at 02:58:21PM -0500, Larry Hall (RFK Partners, Inc) wrote:
>> >No, its not Cygwin.  If it were, other tools with this same path would have
>> >the same problem.  They don't.  Also note that the problem is with 1
>> >backslash:
>> >
>> >D:\tmp\AshishCode>tar cvf file.tgz d:\tmp\AshishCode\DeProxyBridgeDependency.cpp
>> >
>> >tar: Cannot add file d: mp\AshishCode\DeProxyBridgeDependency.cpp: No such file or directory
>> >tar: Error exit delayed from previous errors
>> >
>> >This bug is in tar.
>>
>>What does cygwin's echo do with this?  I'm not close to a Windows machine right now.
>>
>>If you type:
>>
>>c:\>c:\cygwin\bin\echo d:\tmp\AshishCode\DeProxyBridgeDependency.cpp
>>
>>what is output?
>>
>>It's possible that cygwin's globbing is not correctly interpreting d:\ as a
>>path spec.  It tries to be clever about doing the right thing with dos filespecs
>>but it could still be broken.
>
>
>D:\tmp>d:\usr\bin\echo d:\tmp\AshishCode\DeProxyBridgeDependency.cpp
>d:      mp\AshishCode\DeProxyBridgeDependency.cpp
>
>OK, you got me.  It looks like this is a Cygwin issue.  Interesting that
>things like cat and ls don't have a problem here...

Oops.  No, I didn't get you.  You're seeing an echo feature.  It looks like
cygwin is probably doing the right thing.  echo is translating \t to a tab.
I don't believe that cygwin would do this.

The easiest way to check is to write a simple c program which displays its
arguments.  This will bypass any echo trickery.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019