Incorrect output from cygpath --path --unix for long path

Peter Rosin peda@lysator.liu.se
Sat Mar 3 08:50:00 GMT 2012


Kevin Braun skrev 2012-03-02 23:22:
> Hi,
> 
> If I run this command:
> 
> cygpath --path --unix "/cygdrive/c/fop-1.0/lib/xmlgraphics-commons-1.4.jar;/cygdrive/c/fop-1.0/lib/xml-apis-ext-1.3.04.jar;/cygdrive/c/fop-1.0/lib/xml-apis-1.3.04.jar;/cygdrive/c/fop-1.0/lib/xercesImpl-2.7.1.jar;/cygdrive/c/fop-1.0/lib/xalan-2.7.0.jar;/cygdrive/c/tellmeiamtoolongah"

With --unix, you are supposed to feed Windows names to cygpath, not POSIX names.

Try with

cygpath --path --unix "c:/fop-1.0/lib/xmlgraphics-commons-1.4.jar;c:/fop-1.0/lib/xml-apis-ext-1.3.04.jar;c:/fop-1.0/lib/xml-apis-1.3.04.jar;c:/fop-1.0/lib/xercesImpl-2.7.1.jar;c:/fop-1.0/lib/xalan-2.7.0.jar;c:/tellmeiamtoolongah"

Cheers,
Peter

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



More information about the Cygwin mailing list