From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17811 invoked by alias); 5 Sep 2019 22:01:16 -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 17804 invoked by uid 89); 5 Sep 2019 22:01:16 -0000 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 Received: from mail-eopbgr680135.outbound.protection.outlook.com (HELO NAM04-BN3-obe.outbound.protection.outlook.com) (40.107.68.135) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 05 Sep 2019 22:01:15 +0000 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= Received: from MWHPR21MB0845.namprd21.prod.outlook.com (10.173.51.139) by MWHPR21MB0288.namprd21.prod.outlook.com (10.173.53.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2241.2; Thu, 5 Sep 2019 22:01:06 +0000 Received: from MWHPR21MB0845.namprd21.prod.outlook.com ([fe80::3085:a037:7cbc:be5]) by MWHPR21MB0845.namprd21.prod.outlook.com ([fe80::3085:a037:7cbc:be5%5]) with mapi id 15.20.2241.014; Thu, 5 Sep 2019 22:01:06 +0000 From: "Stephen Provine via cygwin" Reply-To: Stephen Provine To: "cygwin@cygwin.com" Subject: RE: Command line processing in dcrt0.cc does not match Microsoft parsing rules Date: Thu, 05 Sep 2019 22:01:00 -0000 Message-ID: References: In-Reply-To: authentication-results: spf=none (sender IP is ) smtp.mailfrom=stephpr@microsoft.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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 3HdFlBSsH+UenJFbGzNE+bwJE4XJFUSn6Ua9eZEENZhSyVjicc95S/pCvPcpRbBIyg3FQYTLAEJ/fYug4YA/Iw== X-SW-Source: 2019-09/txt/msg00047.txt.bz2 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 th= e 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