subfilter

command
v0.0.0-...-f9b4428 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

README

Subfilter

Subfilter takes a list of domains on stdin, removes the base domain (e.g. google.com), and then returns a percentage of the domains containing the least-common subdomains.

Usage

$ cat domains.txt
www.google.com
xxy-pancakes.google.com
mail.google.com
www.yahoo.com
mail.yahoo.com
mail-dev.yahoo.com
www.facebook.com
mail.facebook.com
www.uber.com
mail.uber.com

$ cat domains.txt | subfilter -p 20
xxy-pancakes.google.com
mail-dev.yahoo.com

Install

$ go get -u github.com/leesoh/hacks/subfilter

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL