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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=s2GIVib9YwVUGaF2
	7WixaEK9AaClKd/JhDnFPH9uUX0WzZCJ3dJcdyG90JjC/8uDR/UoV8f9CjdDbYcw
	Fy4RyRU5iadgwDnfpShXkiUbIpS3Z839lZxRVnTiZQYFLVTlhgfdO1O1dV2mwvA+
	myb4u9ci1ROHAtzBzVJ5j2uA13Y=
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:date:from:reply-to:message-id:to:subject
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=E9go2YnMhap4Aeas4b6P4g
	lS/pk=; b=KII1JfF/RspeL+3DDJ7in8/6MiugghkTNuVCZ7/McwjG5/DpakMC+e
	c7sy5b+Qhsh5ovBlwF6dkXjLp7ZHhNBmmqjBoBio+QdqUtYVXvXucqw48ckvw9iD
	kwTBHHXWZQwBSp4Ya4HoKV5KiTubc0DUZ91giQEvs2m3k2fmM1CBM=
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=2.0 required=5.0 tests=AWL,BAYES_60,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Wed, 7 Jan 2015 02:17:32 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <333461888.20150107021732@yandex.ru>
To: All <cygwin@cygwin.com>
Subject: Re: Cygwin script wrapper (native)
In-Reply-To: <915724361.20150105051011@yandex.ru>
References: <915724361.20150105051011@yandex.ru>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, All!

> I think I've finally ironed out most of the issues I had with it. (Infinite
> number of arguments, quoting, etc.)
> The only known issues that cause script to break seems to be the same as you
> would expect with direct script executions - uneven/misplaced quotation marks.

Except the line 31, which should read

FOR /F "usebackq delims=" %%a IN (`cygpath.exe -u "%~1"`) DO (

else the paths containing spaces are split in multiple tokens.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 07.01.2015, <02:16>

Sorry for my terrible english...


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

