This is the mail archive of the
mailing list for the Cygwin project.
Re: Cygwin (1.7.8 and other versions) problems with globbing when invoked from DOS/Windows with nested quotes
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 18 Mar 2011 18:00:44 -0400
- Subject: Re: Cygwin (1.7.8 and other versions) problems with globbing when invoked from DOS/Windows with nested quotes
- References: <AANLkTim=3gM0sS6RCP6rCjKe6W2hY200wBaaGZemail@example.com>
- Reply-to: cygwin at cygwin dot com
On 3/18/2011 2:39 PM, Alex Khripin wrote:
Short summary: getting nested quotes in an argument through to a
Cygwin process from DOS is problematic, and there does not seem to be
any detailed spec for how to escape quotes correctly. Backslash
characters seem to be spuriously generated.
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.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting annoying in email?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple