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

Bug#618776: searching for hold will match packages with that name



On Fri, Mar 18, 2011 at 12:23:42PM +0000, Owen Dunn wrote:
> Package: release-notes
> 
> Chapter 4 of the squeeze release notes asks one to search for holds
> by typing:
> 
> dpkg --get-selections | grep hold
> 
> This will erroneously match any packages whose names contain the
> string `hold'

Probably the following would be a better alternative:

dpkg --get-selections |egrep '\shold$' 

Regards

Javier

Attachment: signature.asc
Description: Digital signature


Reply to: