public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Mingye Wang <arthur200126@gmail.com>
To: cygwin@cygwin.com
Subject: Re: [bug] globify dospath reacts poorly with escaped double quotes
Date: Thu, 10 Oct 2019 08:30:00 -0000	[thread overview]
Message-ID: <CAD66C+YN9n6t+z2RDJvOJshZoxgSWXsqvwpT1cyknoGEm0U3uQ@mail.gmail.com> (raw)

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

             reply	other threads:[~2019-10-10  8:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-10  8:30 Mingye Wang [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-10-08  9:05 Mingye Wang
2019-10-08 20:09 ` Brian Inglis
2019-10-10 16:37   ` Brian Inglis
2019-10-10 13:13 ` Ken Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAD66C+YN9n6t+z2RDJvOJshZoxgSWXsqvwpT1cyknoGEm0U3uQ@mail.gmail.com \
    --to=arthur200126@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).