delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/19/02:25:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_YW,UNPARSEABLE_RELAY
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: jenXL62swBAWhMTL3wnej93oaS0ClBQOAKs8jbEbx_o-
Date: Sat, 19 Mar 2011 02:24:42 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin (1.7.8 and other versions) problems with globbing when invoked from DOS/Windows with nested quotes
Message-ID: <20110319062442.GA22795@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <AANLkTim=3gM0sS6RCP6rCjKe6W2hY200wBaaGZ=g8gdu AT mail DOT gmail DOT com> <4D83D60C DOT 3080702 AT cygwin DOT com> <AANLkTinQSuqf3g5efsQ2C5odF45-jR4FuAgUceyi8GKr AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <AANLkTinQSuqf3g5efsQ2C5odF45-jR4FuAgUceyi8GKr@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Fri, Mar 18, 2011 at 11:47:12PM -0400, David Boyce wrote:
>On Fri, Mar 18, 2011 at 6:00 PM, Larry Hall (Cygwin) wrote:
>> On 3/18/2011 2:39 PM, Alex Khripin wrote:
>> If you're using a native Windows 'make' with a Cywgin shell, you're better
>> off making your tools consistent. ?Quoting mechanisms for Windows do not
>> align with those used by Cygwin/Linux/Unix, so things are already
>> problematic.
>> Passing in a DOS path to a Cygwin shell and expecting the output to be
>> properly quoted for a Windows version of 'make' is just asking for trouble.
>> So I'd recommend staying on one side of the fence or the other if you want
>> to minimize headaches.
>
>That's the expected - and generally reasonable - answer from the
>Cygwin side, but it's worth noting that GNU make documents this combo
>as being workable. From the README.W32 file in the source package:
>
>       Good news! Make now has native support for Cygwin sh. To enable,
>       define the HAVE_CYGWIN_SHELL in config.h and rebuild make
>       from scratch. This version of make tested with B20.1 of Cygwin.
>       Do not define BATCH_MODE_ONLY_SHELL if you use HAVE_CYGWIN_SHELL.

Even if it is supposed to be workable it's not a combination that's
supported here.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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