delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/06/17:21:29

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
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A80684D.48873522@yahoo.com>
Date: Tue, 06 Feb 2001 16:10:37 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Problem w/ cygwin tar.exe: Unable to tar directoriesbeginnin g w/
the letter 'R' in NT 4.0
References: <4 DOT 3 DOT 1 DOT 2 DOT 20010206151048 DOT 019a7780 AT pop DOT ma DOT ultranet DOT com>
<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> <4 DOT 3 DOT 1 DOT 2 DOT 20010206152658 DOT 019d2d70 AT pop DOT ma DOT ultranet DOT com>

"Larry Hall (RFK Partners, Inc)" wrote:
>
> >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.
> 
> Right.  Looks like its not globbing trickery.  A small program prints out
> the arguments exactly as they're typed.  However, the same trickery
> that echo uses appears to be what's affecting tar.  So far I've noticed
> "bad" behavior in both with \t, \r, and \n.  In echo, this is a "feature"
> I'm sure but in tar, I'd say its a bug.  I'm back to thinking the issue is
> with tar...
>

Bug?!?!  The real bug is this thread.  I consider the translation of \r,
\t, \n, etc. as a specifically stated feature found in all common
unices.  Now, if we're discussing operation from the cmd.exe/command.com
shells, and since Cygwin is aware of that fact, Cygwin could double the
'\' characters it finds in the command line while setting the argv array
before spawning the program to execute.  This would prevent this natural
translation.  AFAIK, it may already try to do this and is truly a bug in
Cygwin if it doesn't; but, this may be an unimplemented feature.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
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