All pastes #826878 Raw Edit

Meins

public text v1 · immutable
#826878 ·published 2007-12-21 14:09 UTC
rendered paste body

i want to keep the entry with the most dublicates and delete the rest, is this possible?

for example:

input:

column1 - column2

entry1 - entry2
entry1 - entry3
entry1 - entry3

entry1 and entry3 reduce to one row and relete entry2

output:

entry1 - entry3