delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/17/07:18:45

X-Spam-Check-By: sourceware.org
Date: Fri, 17 Feb 2006 13:18:30 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygpath problem
Message-ID: <20060217121830.GC1372@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <dt4151$k8q$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <dt4151$k8q$1@sea.gmane.org>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Feb 17 00:23, Hans Horn wrote:
> Folks,
> 
> according to the cygpath manpage, I should get the following, given a short 
> DOS name, e.g. c:\Progra~1:
> 
> cygpath -wl C:\Progra~1    -->  C:\Program Files
> cygpath -ml C:\Progra~1    -->  C:/Program Files
> 
> however, the -m option completely ignores the '-l' flag, and I get instead
> cygpath -ml C:\Progra~1    -->  C:/Progra~1
> cygpath -m  C:\Progra~1    -->  C:/Progra~1
> 
> Which is "right", cygpath or its manpage?

The manpage.  I fixed cygpath to do the "right thing(tm)".


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019