- Package:
- dctrl-tools
- Source:
- dctrl-tools
- Description:
- Command-line tools to process Debian package information
- Submitter:
- Goswin von Brederlow
- Date:
- 2010-04-14 12:12:22 UTC
- Severity:
- wishlist
Hi, it would be nice to have an uniq-dctrl tool that would eliminate all but the first entry in a series of entries with identical specific fields. Just like uniq does for lines. The fields uniq-dctrl acts on should be specifiable. For performance reasons uniq should also be added to sort-dctrl as '-u FIELDSPEC' option. MfG Goswin
Hi, At work I wrote some scripts to generate the delta status between two distros in patch and version comparison forms. And I needed a uniq-dctrl, which I implemented really cheaply with gawk. This of course cannot be used as a general purpose tool and should probably not be included in the package, but anyway others may find it useful, or something. ;) Attached the tiny script. regards, guillem