This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Little cygpath improvement request


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]