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 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" to treat
input as NUL-separated instead of whitespace-separated would be
worthwhile?

The options list is kinda full, single-letter-alias-wise; I see no
obvious place to put a more general '--delimiter' (-d and -D and -f
and -F and -s and -S are all taken).  Also, allowing specification of
an arbitrary delimiter would seem to open up another can of
character-encoding worms.

-- 
Mark J. Reed <markjreed@gmail.com>

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


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