delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/10/10/04:31:40

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=rxivMAlg6tNXniXbHmt5PjhnOa/8N
jW8DDxTjkVQlX5HA03z1FaUhIvYpTIVGZ4Bxlg6oKkbHvVkDxR7C8W4ZTrX6t4IX
hXQpBfEI5gWPl9/dWgmlfn6GGD/Dvnj/S/+hXUgLRRZzLgBwzkbZ1lXQaEQw3Cja
hTG4GWj2K+6Aho=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=VZqeIIs7zYKVIPIKc0NiQnhitbk=; b=J1b
LQzrlNR5BwTUyxJR3toVVnfyy9BXfGnctaVxHBa+kbC0r5VGOxvL1xsDxJ5wSjNB
uJofpQHrKo/ga5iAX7+aQdSauVC+MJ4SMPbXwbG7i70IlTyJuLeK3W3C9Eu3I46W
imGMFgMkNes5TgV4nRqhSYralwZwrl2Jgt6pUMWI=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.1 spammy=HX-HELO:sk:mail-ed, H*r:sk:mail-ed, HX-Received:906, HX-Spam-Relays-External:sk:mail-ed
X-HELO: mail-ed1-f51.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=HOZvTxCmmuOKEYmlYVTSSlhcqMETSZ87VXTDqDQobFw=; b=lg3q5GsWFS72xaix4xVp1GznM17wOPw4dHgFvccERMXqNAXh7OY0cWLVyk7rTFMMz0 Wbr0RVTBURAcRITZ+LJyWa5fb2HQc6cWrHfzrWp3lCs0HyJRkOmxC/rwqkgdLCbi2ZN1 oC9BGpISywptPqV8Y2QPIcP89vZJnTdjdJ0B+VQ5YZB2pdzJCBWhrdtFEZVw61SxaVeT zxHsfZxNjf77EXiTYuKCyN9AYUW12lbhP7ZzOXk4ETlaNgdn/TIIxqc+LVwBuAROPim0 GEo9a3aoLqXYgQz4xZTLQZd+hSa0XwRTLwkL1B8nht1b016kvB19A1wojw/hwdKFIIn/ PO6g==
MIME-Version: 1.0
From: Mingye Wang <arthur200126 AT gmail DOT com>
Date: Thu, 10 Oct 2019 16:30:13 +0800
Message-ID: <CAD66C+YN9n6t+z2RDJvOJshZoxgSWXsqvwpT1cyknoGEm0U3uQ@mail.gmail.com>
Subject: Re: [bug] globify dospath reacts poorly with escaped double quotes
To: cygwin AT cygwin DOT com

On Tue, 8 Oct 2019 14:09:18 -0600, Brian Inglis wrote:

> Msys2 tools have to make their own arrangements if they support native Windows
> paths.
> Personally I found when I used to use DOS and Windows tools, it was easier using
> slashes instead of backslashes as directory separators, as most interfaces did
> not care, including most DOS & Windows APIs.

Use the source, Luke. Globbing on the cmdline, as we all know, is
something you only
care about when you are *not* passing in arguments from a Unix-type cmdline, and
build_argv in dcrt0.cc does *only* run globify if the parent process is *not*
Cygwin-powered.

> Backslash escaping and switching enclosing quotes on shell command lines...

See above.

--
Mingye Wang (Artoria2e5)

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