I have a list of IP ranges in the following format:
Long description:111.22.33.0-111.22.33.40
Another description:5.5.5.0-5.5.5.100
Yet another description:111.22.33.0-111.22.33.40
And another one:111.22.33.0-111.22.33.40
Something different:8.1.1.0-8.1.1.20
etc.
I'd like to delete lines having duplicate IP ranges, even when the "description" differs (e.g. only match text after the : character).
The example above should become:
Long description:111.22.33.0-111.22.33.40
Another description:5.5.5.0-5.5.5.100
Something different:8.1.1.0-8.1.1.20