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:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=IecCamQhLBXP6l7d kSB3OGcaEd1p7oxZ1350udJC21QZKL3cyCt6b//OG2bxehl6mLYCL7ru3u+Nc2K+ S+344oagal3yNODNU3Nds9Url0HtipKR0SfvHCmSn02OTm6oJ+LA2ErPhW+lOpcy TU+7XZS/1j8Yus3ur2ROX/UlgrU= 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:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=4WsLUwQ4+Fo/ESGta/xYzD BdcQ0=; b=UfTjKswc822BrZrKOavgUmlw7A3L0ULXCOYnZls6nPI9rVfS1TLjAc GnsEV/IOLiPZuexcV0SrvWqhdTXflpqDr+MlCEjcJk3VCAU6LJIHFVGQqSyWkjQX 081SqbjJoveotjvITNEZ6VpWuh9CWaG2lZr/JwFOE98D2PKu239Uc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: vms173023pub.verizon.net Message-id: <5300580C.2080901@cygwin.com> Date: Sun, 16 Feb 2014 01:17:48 -0500 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Little cygpath improvement request 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> In-reply-to: <53004F35.4020301@googlemail.com> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit On 2/16/2014 12:40 AM, m0viefreak wrote: > 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 > > which outputs nothing if you pass it an empty argument (or even without > any further argument at all). > > Isn't that ( cygpath -mli "$possibly_empty_var" ) what you need? Well, if you're actually going to look at the existing functionality of 'cygpath' before jumping into a thread, you're going to take all the fun out of it for the rest of us. ;-) Thanks for pointing out the flaw in my original reply and for providing an answer that I believe Andrey will appreciate. -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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