pkgsrc-Users archive

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

Re: lang/perl5 vs. security/p5-Digest



On Wed, Dec 29, 2010 at 06:14:26PM +0200, Aleksey Cheusov wrote:
>  >> ~>pkg_admin pmatch 'p5-Digest<=1.16{,nb*}' p5-Digest-1.16; echo $?    
>  >> 0
>  >> ~>pkg_admin pmatch 'p5-Digest<=1.16{,nb*}' p5-Digest-1.16nb1; echo $?     
>        
>  >> 1
>  >> ~>
> 
> > Do not mix Dewey and non-Dewey patterns.
> 
> I don't.
> 
> `*' part is a glob pattern.
> {a,b} came from csh. In Bourne shells it is called 'brace expansion'.
> The rest part of the pattern is dewey, in particular nbX.

Yes, you do. You have just proven that the pattern above is mixing both
styles. The problem is not nbX (which has some semantic value attached
with Dewey, but isn't a Dewey pattern by itself).

Joerg


Home | Main Index | Thread Index | Old Index