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/14/2014 1:22 PM, Andrey Repin wrote:
Greetings, All!

I would like to request a small functional change for cygpath.
In the event of empty given path argument (i.e. `cygpath -ml ""') silently
return an empty result without error message.
This would greatly simplify wrapper scripts.

Why isn't redirecting the message to /dev/null not sufficient, something
like this (bash syntax)?

cygpath -ml ""  >/dev/null 2&>1


--
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]