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

Re: DEP-5 and files with white spaces



Am Mittwoch, den 01.02.2012, 14:49 -0800 schrieb Russ Allbery:
> Benjamin Drung <bdrung@debian.org> writes:
> 
> > Is it to complex to have a syntax that is similar to what the shell
> > does? Two solutions pop into my mind. Please let me know, why these are
> > not use. You can point me to previous discussions.
> 
> > Idea 1: Use a escape sequence for specifying a whitespace (e.g. "\ " for
> > a space).
> 
> > Idea 2: Allow quotation marks.
> 
> Yeah, both of those were among the other syntax proposals that were
> suggested, and I think one of them was in the document at one point.
> Using backslash is probably the easiest, although it does make parsing the
> files harder.

IMHO allowing both would be the optimum. A real parser would have
problems with both, but a simplistic "parser" that just split the string
by spaces would have a problem.

-- 
Benjamin Drung
Debian & Ubuntu Developer

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: