X-Recipient: archive-cygwin@delorie.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:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; q=dns; s=default; b=O3IgavsVJEUKy7dZIfnqfs0nHp+BE
	eQcbG8KFf/f38b7pgKw8NIeI6lpVtOSu/1AzkxEhOcaNY4AjML9iq0FhDMkiqc7Z
	KMNp1Et2lMnHo97xdgYnQZ557LDRgW1Qa10/QEIRScvfpHNhQfkBGUb09BibYBKk
	WKzJgIaQFlozAk=
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:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; s=default; bh=Kz72IkdAGC4BGEqG1E7jj5Yihvs=; b=wGv
	sU68yg3uMYE7NwmYrE81MCDw+r+cNStd/uVkIWsf3+w4nQ2xpTi4b3MV0LXpzJr4
	CSG2aqLHi7iDvICDWKo32NQOEV/hJC7AtcgFhZsv4Tuv2LTUgxWESBtNQSg+PQuD
	MvghsG+CNfrCmwS4sFvTKj3hM6gPQ4D2UICqZL+Q=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,MIME_BASE64_BLANKS autolearn=no version=3.3.2 spammy=Authors, srv
X-HELO: USA7109MR008.ACS-INC.COM
From: "Nellis, Kenneth" <Kenneth.Nellis@xerox.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: cygpath -w 'a"b'
Date: Thu, 14 Jul 2016 18:22:29 +0000
Message-ID: <0D835E9B9CD07F40A48423F80D3B5A704BB7ABD0@USA7109MB022.na.xerox.net>
References: <20160714172234.GB19533@calimero.vinschen.de>
In-Reply-To: <20160714172234.GB19533@calimero.vinschen.de>
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id u6EIMtXo005396

It seems that the length of the string passed to cygpath -w 
affects whether double quotes are translated or not:

$ cygpath -w '"12345"' | od -cAn
   "   1   2   3   4   5   "  \n
$ cygpath -w '"123456"' | od -cAn
   "   1   2   3   4   5   6 357 200 242  \n
$ cygpath --version
cygpath (cygwin) 2.5.2
Path Conversion Utility
Copyright (C) 1998 - 2016 Cygwin Authors
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ uname -srv
CYGWIN_NT-6.1 2.5.2(0.297/5/3) 2016-06-23 14:29
$

--Ken Nellis

