#440171 dctrl-tools: grep-dctrl needs the ability to filter based on whether a field is (not) equal to another

Package:
dctrl-tools
Source:
dctrl-tools
Description:
Command-line tools to process Debian package information
Submitter:
Date:
2014-11-09 17:57:20 UTC
Severity:
wishlist
#440171#5
Date:
2007-08-30 12:15:05 UTC
From:
To:
Consider the following sequence of commands:

  sort-dctrl /var/lib/dpkg/available > avail
  sort-dctrl /var/lib/dpkg/status > stat
  join-dctrl -j Package -o 0,1.Version:Inst-Version,2.Version:Avail-Version stat avail > comb

I would like to be able to filter out from comb those paragraphs where
Inst-Version equals Avail-Version.