delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/12/16:51:19

From: rrankin AT primenet DOT com (Rick Rankin)
Subject: RE: cygpath
12 Nov 1998 16:51:19 -0800 :
Message-ID: <000401be0df9$3e379380$9a1e01aa.cygnus.gnu-win32@rankin-isdn-ws2.sat.mot.com>
References: <36484B31 DOT A6089DF AT st DOT com>
Mime-Version: 1.0
To: "Laurent Charles" <laurent DOT charles AT st DOT com>,
"gnu-win32" <gnu-win32 AT cygnus DOT com>

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 AT primenet DOT com

> -----Original Message-----
> From: owner-gnu-win32 AT cygnus DOT com [mailto:owner-gnu-win32 AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".
>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019