[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DEP-5 and files with white spaces



On Thu, Feb 09, 2012 at 07:38:29PM +0300, Andrew Shadura wrote:
> Hello,
> 
> On Thu, 09 Feb 2012 11:01:00 +0100
> Goswin von Brederlow <goswin-v-b@web.de> wrote:
> 
> > > Idea 2: Allow quotation marks.
> 
> > Not a solution on its own. What about a file named foo" bar' baz?
> 
> > For a worst case what about files with newlines?
> 
> You can double the delimiter to embed it into a string, like this:
> "foo"" bar' baz" or 'foo" bar'' baz'.

Urgh. Or do 1. as well as 2. and have escape sequences. Also urgh.

It's a theoretical problem and Jakub has shown that there is a workable
solution with the current syntax.

He's also shown that we couldn't handle distinguishing "foo bar" from
"foo\tbar".  That is, surely, also entirely theoretical.


-- 
Jon Dowland


Reply to: