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: Incorrect output from cygpath --path --unix for long path


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


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