'cygpath -ml <posix_8.3_path>' bug?
Randall R Schulz
rrschulz@cris.com
Thu Mar 20 02:25:00 GMT 2003
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@veritech.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/
More information about the Cygwin
mailing list