This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: 'cygpath -ml <posix_8.3_path>' bug?
- From: Randall R Schulz <rrschulz at cris dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 19 Mar 2003 17:42:07 -0800
- Subject: Re: 'cygpath -ml <posix_8.3_path>' bug?
Lee,
Perhaps. In particular, if one uses Windows mode (instead of mixed
mode) you get the result I think you were expecting (except, of course,
for the orientation of the name separators).
Witness:
% cygpath -d /cygdrive/d/Documents\ and\ Settings/
d:\DOCUME~1\
% cygpath -lm "d:\DOCUME~1\"
cygpath -lm "d:\DOCUME~1\"
d:/DOCUME~1/
% cygpath -w "d:\DOCUME~1\"
d:\DOCUME~1\
% cygpath -lw "d:\DOCUME~1\"
d:\Documents and Settings\
Randall Schulz
At 17:13 2003-03-19, Lee D. Rothstein wrote:
My reading of the cygpath documentation and
embedded help is that:
cygpath -ml /cygdrive/c/docume~1
or:
cygpath --mixed --long-name /cygdrive/c/docume~1
should output:
c:/Documents and Settings
Of course:
cygpath --mixed "$(cygpath --windows --long-name /cygdrive/c/docume~1)"
does yields the correct results.
Isn't this a bug in 'cygpath'?
--
Lee D. Rothstein -- lee at veritech dot com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/