From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14637 invoked by alias); 16 Feb 2014 06:17:55 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 14627 invoked by uid 89); 16 Feb 2014 06:17:55 -0000 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 Received: from vms173023pub.verizon.net (HELO vms173023pub.verizon.net) (206.46.173.23) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 16 Feb 2014 06:17:53 +0000 Received: from [192.168.1.231] ([unknown] [74.104.179.122]) by vms173023.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0N1200134S5MHA70@vms173023.mailsrvcs.net> for cygwin@cygwin.com; Sun, 16 Feb 2014 00:17:51 -0600 (CST) Message-id: <5300580C.2080901@cygwin.com> Date: Sun, 16 Feb 2014 06:35:00 -0000 From: "Larry Hall (Cygwin)" Reply-to: cygwin@cygwin.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@cygwin.com Subject: Re: Little cygpath improvement request 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> In-reply-to: <53004F35.4020301@googlemail.com> Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-SW-Source: 2014-02/txt/msg00404.txt.bz2 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