This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygpath and spaces in filenames when reading from a file

On Wed, Dec 30, 2009 at 01:18:50PM -0500, Christopher Faylor wrote:
>On Wed, Dec 30, 2009 at 01:01:29PM +0100, Corinna Vinschen wrote:
>>On Dec 29 17:11, Jon Beniston wrote:
>>>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.
>>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.

The option processing was changed from the time I first added it.
AFAICT, at that point it did take one file per line.  Now it breaks on

Since Corinna made the change from line to whitespace, I'll defer
on changing this.


Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]