delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/30/13:19:12

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 30 Dec 2009 13:18:50 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygpath and spaces in filenames when reading from a file
Message-ID: <20091230181849.GA17448@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <000801ca88a9$ec71c510$c5554f30$@com> <20091230120129 DOT GA32652 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20091230120129.GA32652@calimero.vinschen.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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 Wed, Dec 30, 2009 at 01:01:29PM +0100, Corinna Vinschen wrote:
>On Dec 29 17:11, Jon Beniston wrote:
>> Hi,
>> 
>> cygpath can read a list of paths to convert from a file, when started with
>> -file. However, how do you specify paths with spaces in them in this mode?
>> It seems quoting the path or using \ doesn't seem to work. E.g:
>
>No, it doesn't.  Space is used as the field separator in the file.  I
>assume we need an extension like allowing to specify another separator.
>Another one for next year...

That's an option that I added.  I am surprised that it is space delimited since
I thought I intended to make it newline delimited.

I'll take a look at it.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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