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

Re: DEP 5 and directory/file names with spaces



On Sun, 2009-06-07 at 00:44 -0400, Andres Mejia wrote:
> The current proposal for DEP 5 has this snippet for the 'Files' field.
> 
> "List of space-separated globbing pathnames (see man 7 glob for more details) 
> indicating files that have the same licence and share copyright holders."
> 
> This doesn't take into account files or directories that may be named with 
> spaces.
> 
> 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'.

-Rob

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


Reply to: