top-domain-list 0.2.0

Remove redundant domains from a list
top-domain-list-0.2.0 is not a library.

top-domain-list

builds.sr.ht status

cli tool for cleaning up a list of domains, keeping only the top ones to avoid redundancy.

I use it for git.sr.ht/~nin0/bad-actors.

Installation

cargo install top-domain-list

Usage

Usage: top-domain-list [OPTIONS] <PATH>

Arguments:
  <PATH>  Path to a file containing a list of domains (one per line)

Options:
  -t, --tld   Consider lines without dot as TLD (and removes lower levels)
  -h, --help  Print help

Contact

You can send me an email here : lists.sr.ht/~nin0/public-inbox (archives are not public).