delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/09/05/18:02:08

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:from:reply-to:to:subject:date:message-id
:references:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=qqd7Xc0cVKKeEZt7z5sH3kwlbnzhJ
x/JKALRSQb0j++5kVlm50u24Q8r/K4SHHZkLvWaCir8q+CayCM8FE7NOpCizqOhb
OTH8/9RqBz7e69D6PY7gpVjoPEeIzYhbC52gUJMKMG9IoDrJwRpnojmgE+CuuVbv
nlfrfm3sqiqV6A=
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:from:reply-to:to:subject:date:message-id
:references:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=Iw8NgHeVZS1AWBGD4T6LoFcGlKw=; b=e0e
aDQz9n+O97aGtQMgQYrY6I1Ne7cVW5c6FJEHXexQS+aBTkFHkSIrK4Blz9Bjo1Ft
AVR1Thzpw3l6ploQ5PQaysyOVKeoyUJ/qWgiixt/2/YQmljv7Yi9lPFw3gJIZ29V
AmXm0+oxu0S1RKlG+Zr0OF93ibXMhsZ0g4CkDoeo=
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=-0.9 required=5.0 tests=BAYES_00,FORGED_SPF_HELO,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=no version=3.3.1 spammy=reality
X-HELO: NAM04-BN3-obe.outbound.protection.outlook.com
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YTHCx/iojWNPUaAphrJNikNp0oGaFIqpRxcuwH9EZOmIOMvn45GH0soGpQWx64hasCytprUMp62o43jiEcGY3ibJa1YJJ0YjqaknC8QusXMQygZswY869JtxEEGkogxxRtZR645x/f4NGz6I3+87lDgloSvAk63KJZfSrAr4xSKqQlHj+dPPTOtQC0NMbegsb4Y4+eQoyQectn6R6Kk2BjP1Y9JKbzRe18E4tgF+skmPivyEhP4swF6TyIX46a9hJ4QmJ3HCeKTV0Tz/ARfnTt/cNO+J+h23QMn/IxmUPm4Tg7xCguJpI4hAiYzSpxA3JG7vhopiiBbOYUZdfcYaBw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4qWN4OeKscg/DcJF56B9QSXbwol4ijp2hgDV2mQuXXU=; b=S6aG7DMqkSS25jZ+mIqcycuExxh9SiPxeMfty2D6xnYO1LzwBG47CnZ1NpGqP+fwZNMkJfPEnpU43vuckqnF6Tq4frF616o9wSfJhurlIMO3F+GPlVgaG6Q3DBPLX+QC00vVPoKj/YpLEohpoZWeUkgvIhNA+T4qXv0/ryr32tEX8ivUDAmotMjyxwgmrWBNEw3wJZZyJPcyf7k6s1fcV80EO/cDu2mtLw5+SSPcQbgSZfvc+6Euv8ZE+4pH6ihy7Ov7O438Efg9a9LDfxlfUlaRoDX1y9lkbsS9DtwmuIpJE3iVzPl8FFlPqm/FuNX+mdiLWLeRTP0gliVoubVFSQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4qWN4OeKscg/DcJF56B9QSXbwol4ijp2hgDV2mQuXXU=; b=Ou/gofri9OdOSM1jxnuxblzgMX0wqqLAVrlLGsCr+7AfWaQLjcijedtIf4IKFjnsw/0rD9BE8pODNSe7C4UwOlokyZI2wzDJJZrJ6JQ7RXVKqTXkiO7GdtVcSQNot6QfTfI/n7+lJ5Z8OBodVbCETzJk+iqaZcXMKyJKlmg6/VY=
From: "Stephen Provine via cygwin" <cygwin AT cygwin DOT com>
Reply-To: Stephen Provine <stephpr AT microsoft DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RE: Command line processing in dcrt0.cc does not match Microsoft parsing rules
Date: Thu, 5 Sep 2019 22:01:06 +0000
Message-ID: <MWHPR21MB084583452E7C41D0792C739EB9BB0@MWHPR21MB0845.namprd21.prod.outlook.com>
References: <MWHPR21MB08452919F35B1B0C5F0EB4DCB9BD0 AT MWHPR21MB0845 DOT namprd21 DOT prod DOT outlook DOT com> <MWHPR21MB0845F78385792965A94E0CD9B9BD0 AT MWHPR21MB0845 DOT namprd21 DOT prod DOT outlook DOT com> <MWHPR21MB084508155AB621C7AD81309CB9B90 AT MWHPR21MB0845 DOT namprd21 DOT prod DOT outlook DOT com> <MWHPR21MB08456D9F03AF8BD450E6AB2EB9B80 AT MWHPR21MB0845 DOT namprd21 DOT prod DOT outlook DOT com> <MWHPR21MB0845282E7582DC95ADF0F140B9BB0 AT MWHPR21MB0845 DOT namprd21 DOT prod DOT outlook DOT com>
In-Reply-To: <MWHPR21MB0845282E7582DC95ADF0F140B9BB0@MWHPR21MB0845.namprd21.prod.outlook.com>
authentication-results: spf=none (sender IP is ) smtp.mailfrom=stephpr AT microsoft DOT com;
x-ms-oob-tlc-oobclassifiers: OLM:6430;
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 3HdFlBSsH+UenJFbGzNE+bwJE4XJFUSn6Ua9eZEENZhSyVjicc95S/pCvPcpRbBIyg3FQYTLAEJ/fYug4YA/Iw==
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x85M1ooi018635

On 9/5/19 2:05 PM, Eric Blake wrote:
> On 9/5/19 1:31 PM, Stephen Provine via cygwin wrote:
> > Not expected.

> Why not? That obeyed cmd's odd rules: The moment you have a " in the
> command line, that argument continues until end of line or the next "
> (regardless of how many \ precede the ").

Now I'm really confused. Brian seemed to indicate that the POSIX rules were
followed, but you're indicating that the Windows command line parsing rules
are followed. So I assume the reality is that it is actually some mix of the two.
Is the effective parsing logic implemented by Cygwin documented anywhere?

Thanks,
Stephen


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