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

Re: DEP-5: an example parser, choice of syntax for Files:



Am Sonntag, den 13.09.2009, 23:58 +0100 schrieb Jon Dowland:
> Most of the examples given in DEP-5 containing the path
> character will not work, either, e.g.
> 
>     Files: debian/*
> 
> Assuming they are passed into a find(1) invocation like so
> 
>     find . -path 'debian/*'
> 
> (note the presence of the path separator and the wording
> about that in the text)
> 
> they need to be prefixed with './', even if you omit '.' in
> the find execution (which itself is a GNUism iirc).  Patch
> attached.

You can get rid of those './' by replacing . with *:

    find * -path 'debian/*'

Cheers,
Benjamin

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Reply to: