This is the mail archive of the cygwin@cygwin.com 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: cygpath behaviour changed


Lynn,

Cygpath as you've show it operating, is working perfectly correctly. The "--path" option is for converting PATH-like variables in which several file or directory names are separated by colons (UNIX -> Windows) or semicolons (Windows -> Unix).

Randall Schulz
Mountain View, CA USA


At 13:25 2002-11-10, you wrote:
I've just installed the latest cygwin.dll and bash. An existing script no longer works. I tracked it to the following:

cygpath --path --windows "c:\WINNT"
produces c;c:\WINNT (note the leading c;)

cygpath --windows "c:\WINNT"
produces the correct c:\WINNT

cygpath --path --windows /c/WINNT/
produces the correct c:\WINNT

my mounts are:
c:\program files on /PF type system (binmode)
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
c: on /c type system (binmode)
r: on /r type system (binmode)
w: on /w type system (binmode)

Lynn

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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