* pwd & windows
@ 2000-09-22 15:14 Roger Talkov
2000-09-22 15:34 ` Bob McGowan
0 siblings, 1 reply; 2+ messages in thread
From: Roger Talkov @ 2000-09-22 15:14 UTC (permalink / raw)
To: cygwin
If I use `pwd` in a shell script or makefile & pass that to a non-cygwin
tool, like javac, it doesn't know what to do with /cygdrive/e/project .
It would be extremely usefull to have a variant of pwd that would use
the windows drive letter format (e:/project).
--
Roger Talkov
rtalkov@AppWorx.com
425-644-2121 x 135
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: pwd & windows
2000-09-22 15:14 pwd & windows Roger Talkov
@ 2000-09-22 15:34 ` Bob McGowan
0 siblings, 0 replies; 2+ messages in thread
From: Bob McGowan @ 2000-09-22 15:34 UTC (permalink / raw)
To: Roger Talkov; +Cc: cygwin
cygpath -w `pwd`
or
cygpath -w $PWD
will give the Windows path of the current directory. Change -w to -u
and give it a windows path, it will print the cygwin/unix style path.
Roger Talkov wrote:
>
> If I use `pwd` in a shell script or makefile & pass that to a non-cygwin
> tool, like javac, it doesn't know what to do with /cygdrive/e/project .
> It would be extremely usefull to have a variant of pwd that would use
> the windows drive letter format (e:/project).
>
> --
> Roger Talkov
>
> rtalkov@AppWorx.com
> 425-644-2121 x 135
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
--
Bob McGowan
Staff Software Quality Engineer
VERITAS Software
rmcgowan@veritas.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-09-22 15:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-22 15:14 pwd & windows Roger Talkov
2000-09-22 15:34 ` Bob McGowan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).