This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: cygpath : minor inconsistency in output
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Michael Schaap <cygwin at mscha dot org>
- Cc: cygwin at cygwin dot com
- Date: Fri, 16 May 2003 13:32:12 -0400 (EDT)
- Subject: Re: cygpath : minor inconsistency in output
- Reply-to: cygwin at cygwin dot com
On Fri, 16 May 2003, Michael Schaap wrote:
> fergus@bonhard.uklinux.net wrote:
>
> >(But it still seems not quite right to me: maybe I'm misunderstanding the
> >question that cygpath actually poses, which is why these different responses
> >to it seem, to me, to be inconsistent. Hence my earlier suggestion that
> >"c:/Cygwin/" and "d:/" would be consistent with one another and seem to me
> >to be responses to the identical class of question. As things stand, it's
> >giving me grief.)
> >
> I'm sure this won't lighten your grief, but this _is_ in fact consistent
> with UNIX-like behaviour:
>
> $ cd
> $ pwd
> /home/mscha
> $ cd /
> $ pwd
> /
>
> so, changing it might cause even more grief.
> (I'm sure a P to add an option to always include a trailing slash - -s,
> -l, -a are taken, so perhaps -h, --slash? - would be TC. ;-) )
>
> Michael
Michael,
Think outside the box! ;-) How about -/, --slash?
Igor
P.S. No, I'm not volunteering to create the patch -- not yet, at least...
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Knowledge is an unending adventure at the edge of uncertainty.
-- Leto II
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/