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? -- m0vie -- 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