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'
dpkg --get-selections | grep 'hold$'
I guess this should fix it although it complicates things.
It is a question of addressing very corner case or keep it simple.
Osamu
Reply to: