From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91440 invoked by alias); 10 Oct 2019 08:30:49 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 91383 invoked by uid 89); 10 Oct 2019 08:30:47 -0000 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 Received: from mail-ed1-f51.google.com (HELO mail-ed1-f51.google.com) (209.85.208.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 10 Oct 2019 08:30:42 +0000 Received: by mail-ed1-f51.google.com with SMTP id h2so4674777edn.3 for ; Thu, 10 Oct 2019 01:30:41 -0700 (PDT) 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 Date: Thu, 10 Oct 2019 08:30:00 -0000 Message-ID: Subject: Re: [bug] globify dospath reacts poorly with escaped double quotes To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2019-10/txt/msg00052.txt.bz2 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