Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.2.0.9.2.20030319173807.02ba6d80@pop3.cris.com> X-Sender: rrschulz AT pop3 DOT cris DOT com Date: Wed, 19 Mar 2003 17:42:07 -0800 To: cygwin AT cygwin DOT com From: Randall R Schulz Subject: Re: 'cygpath -ml ' bug? In-Reply-To: <5.2.0.9.0.20030319184305.09c2eea8@rogue.codemeta.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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/