delorie.com/archives/browse.cgi | search |
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: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 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-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 AT yandex DOT ru> |
Reply-To: | cygwin AT cygwin DOT com |
Message-ID: | <1793681198.20140216102125@yandex.ru> |
To: | m0viefreak <m0viefreak DOT cm AT googlemail DOT com>, cygwin AT cygwin DOT com |
Subject: | Re: Little cygpath improvement request |
In-Reply-To: | <53004F35.4020301@googlemail.com> |
References: | <111910987 DOT 20140214222230 AT mtu-net DOT ru> <52FE6397 DOT 5010105 AT cygwin DOT com> <187072112 DOT 20140214234339 AT mtu-net DOT ru> <20140215125606 DOT GM2246 AT calimero DOT vinschen DOT de> <1745533059 DOT 20140215225708 AT mtu-net DOT ru> <2826041 DOT 20140216062749 AT yandex DOT ru> <53004F35 DOT 4020301 AT googlemail DOT com> |
MIME-Version: | 1.0 |
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 AT yandex DOT 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |