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

Re: DEP 5 and directory/file names with spaces



Robert Collins <robertc@robertcollins.net> writes:

> On Sun, 2009-06-07 at 00:44 -0400, Andres Mejia wrote:
> > I suggest that the Files field use a comma-separated list of
> > globbing pathnames instead, else something ugly like 'path/with some
> > spaces/'* would have to be used.
> 
> That just trades ' ' for ',' as the path not usable.
> 
> I suggest just shell unescaping before globbing.
> 
> foo\ bar baz
> ->
> 'foo bar' and 'baz'.

This has merit, as being consistent both with shell word lexing and
shell globbing rules.

-- 
 \            Hercules Grytpype-Thynne: “Well, Neddie, I'm going to be |
  `\      frank.”  Ned Seagoon: “Right, I'll be Tom.”  Count Moriarty: |
_o__)           “I'll be Gladys.” *slap* —The Goon Show, _World War I_ |
Ben Finney

Attachment: pgpLzJSAC7gH6.pgp
Description: PGP signature


Reply to: