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

2010-01-07 Thread Corinna Vinschen
On Dec 30 16:15, Christopher Faylor wrote: > 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 >

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

2009-12-30 Thread Christopher Faylor
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 wi

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

2009-12-30 Thread Mark J. Reed
On Wed, Dec 30, 2009 at 1:18 PM, Christopher Faylor wrote: > 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. It looks pretty intentional - it reads through the input line by line using fgets, but then calls arg

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

2009-12-30 Thread Christopher Faylor
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

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

2009-12-30 Thread Jason Pyeron
> -Original Message- > From: Behalf Of Mark J. Reed > Sent: Wednesday, December 30, 2009 8:12 > Subject: Re: cygpath and spaces in filenames when reading from a file > > On Wed, Dec 30, 2009 at 7:01 AM, Corinna Vinschen wrote: > > No, it doesn't.  Space i

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

2009-12-30 Thread Mark J. Reed
On Wed, Dec 30, 2009 at 7:01 AM, Corinna Vinschen wrote: > 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... As a first step, maybe just adding an xargs-style "--null/-0" t

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

2009-12-30 Thread Corinna Vinschen
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 a