[Dctrl-tools-devel] Bug#702150: Bug#702150: dctrl-tools: -X should match on "NAME (VERSION)" too
antti-juhani at kaijanaho.fi
Sun Mar 3 16:32:11 UTC 2013
Control: severity -1 wishlist
On Sun, Mar 03, 2013 at 10:59:29AM +0200, Teodor wrote:
> I'm using this command to add package pins, for example for python2.7:
> apt-cache dumpavail | grep-dctrl -S $SPKG -sPackage -X
> By using '-X' some times not all packages are selected:
> Package: python2.7
> Source: python2.7 (2.7.3-7)
This is the expected result, hence downgrading to wishlist.
-X is supposed to check if the field in question (in this case, Source, or if
it is missing, Package) contains the string (in this case $PKG) and nothing else.
> I thing that »grep-dctrl -X« should match on "NAME (VERSION)" too.
I think changing the defined meaning of -X that radically is out of the question.
Providing another flag to do what you are reqesting is possible, though the
question of exactly what it *should* match is not clear. Can you give me a
regexp, for example?
Antti-Juhani Kaijanaho, Jyväskylä, Finland
More information about the Dctrl-tools-devel