~nin0/top-domain-list

Remove redundant domains from a list

Nino Treyssat-Vincent via public-inbox

1 year, 2 months ago

ee15e2c feat: trim spaces and ignore empty lines

1 year, 4 months ago

#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).