#387413 uniq-dctrl wanted

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
#387413#5
Date:
2006-09-14 09:08:59 UTC
From:
To:
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

#387413#10
Date:
2007-01-17 17:46:29 UTC
From:
To:
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