RE: "cygpath -w ." returns ".\" instead of "."

2004-07-04 Thread Hannu E K Nevalainen
> From: Igor Pechtchanski > Sent: Friday, July 02, 2004 9:32 PM > Ugh, top posting... Oh, well... Hmm... yes, I always re-edit, for NOT top posting - unless I'm lazy. > FYI, as a workaround, "cygpath -w ./", "cygpath -m ./", and "cygpath -u > ./" should work consistently. Additionally; The -a

RE: "cygpath -w ." returns ".\" instead of "."

2004-07-02 Thread Igor Pechtchanski
Ugh, top posting... Oh, well... FYI, as a workaround, "cygpath -w ./", "cygpath -m ./", and "cygpath -u ./" should work consistently. If you feel that the current behavior is a bug, feel free to submit a patch to the code that does the transformation (in winsup/cygwin/path.cc, the definition of

RE: "cygpath -w ." returns ".\" instead of "."

2004-07-02 Thread Trevor Baker
Okay point taken. Stupid trivial script aside... Why does: "cygpath -w ." return ".\" instead of "." "cygpath -m ." return "./" instead of "." And why does: "cygpath -w dir" return "dir" instead of "dir\" "cygpath -m dir" return "dir" instead of "dir/" Shouldn't: "cygpath -w ." "cygpath -m ." "c

RE: "cygpath -w ." returns ".\" instead of "."

2004-07-02 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Trevor Baker > Sent: 01 July 2004 22:43 > the following > trivial script: Even a trivial script can have bugs in it! > #-- > #!/bin/sh > > BASEDIR=`cygpath -w .` So here on line one, you're asking for a windoze-format p