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=IherqAR9/izJNuuD
	Mmy1L+0+2voy1Hp92jT7IimPtHErw8cCHtxTTvcD+RD9Knv+fQzxtHCjPtCS0XMt
	3sOqpReoJ1rRBNkERLLn++ptWLXuaahLf0+IsHgG/h1ZmuaBiw84IQaX7959CVef
	1gfRFpLCNBwnSwzlexNjT0GqCWs=
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=6kN77OAUGVYOq+7AINTOos
	3dOxU=; b=mSLtv5ME79dxpqZ+EvnJdyyakKd6hQ+cJxMcpco0elhYLILssLjlgJ
	AiDCz8s6vQsQB86J7JhQBCVNcmMPwUgeopZ6t3vkgypXHynJoZL1Ubird8V/NvOw
	tqeTd6vQaV3QBR5FOdv6oQCuU1xcKWsP0MgJ8uYgKgNI12g+58zIA=
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=-3.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Sun, 16 Feb 2014 10:21:25 +0400
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1793681198.20140216102125@yandex.ru>
To: m0viefreak <m0viefreak.cm@googlemail.com>, cygwin@cygwin.com
Subject: Re: Little cygpath improvement request
In-Reply-To: <53004F35.4020301@googlemail.com>
References: <111910987.20140214222230@mtu-net.ru> <52FE6397.5010105@cygwin.com> <187072112.20140214234339@mtu-net.ru> <20140215125606.GM2246@calimero.vinschen.de> <1745533059.20140215225708@mtu-net.ru> <2826041.20140216062749@yandex.ru> <53004F35.4020301@googlemail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, m0viefreak!

> I'm not exactly sure what you are trying to accomplish with that patch,
> but it looks to me as if everything you want is already present:

>   cygpath --help

> states

>   -i, --ignore          ignore missing argument

With "that patch", this option can be dropped altogether.

> which outputs nothing if you pass it an empty argument (or even without
> any further argument at all).

It provide no information at all in any event (be it missing argument, or
nonexistent path (not like it's checking for existence right now... which only
making situation more complicated)), requiring non-obvious, manually conceived
tests to ensure that the program operates orderly. 

I should also add that the attach was unintended. Got a little mix-up here,
and the file slipped through cracks to the message.

> Isn't that ( cygpath -mli "$possibly_empty_var" ) what you need?

No, I didn't.


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 16.02.2014, <10:10>

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

