delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/17/03:23:33

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "Hans Horn" <hannes AT 2horns DOT com>
Subject: cygpath problem
Date: Fri, 17 Feb 2006 00:23:00 -0800
Lines: 17
Message-ID: <dt4151$k8q$1@sea.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

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?

H. 




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