This is the mail archive of the cygwin@sourceware.cygnus.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]

RE: cygpath


I think the more typical usage would be

/usr/local/bin/tool -f $(cygpath -w /usr/src/source.c)

Correct me if I'm wrong, but my understanding of cygpath is that it converts
a (single) path between formats, not all paths in a command.

--
Rick Rankin
rrankin@primenet.com

> -----Original Message-----
> From: owner-gnu-win32@cygnus.com [mailto:owner-gnu-win32@cygnus.com]On
> Behalf Of Laurent Charles
> Sent: Tuesday, November 10, 1998 7:18 AM
> To: gnu-win32
> Subject: cygpath
>
>
> Hello,
>
> When I use cygpath as follows;
>  cygpath -w "/usr/local/bin/tool -f /usr/src/source.c"
> It replies;
>  U:\local\bin\tool -f \usr\src\source.c
>
> The remote volume U: is mounted as /usr
>
> Is cygpath supposed to reply (which is the behaviour I expected)
>  U:\local\bin\tool -f U:\src\source.c
> Or is it not implemented? a bug? not at all featured by cygpath?
>
> I use b20 from binary distribution (full.exe)
>
> Thank you for your reply.
>
> --Laurent
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".
>

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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