domtool

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: 6 Imported by: 0

README

Domtool

Domtool is a simple tool for validating and parsing domains.

Usage

$ cat domains.txt
www.example.com
www.facebook.com
m.facebook.com
www.amazon.co.uk
this is a sentence

$ cat domains.txt | domtool
example.com
facebook.com
facebook.com
amazon.co.uk

$ cat domains.txt | domtool -subs
www
www
m
www

Installation

$ go get -u github.com/leesoh/hacks/domtool`

Thanks

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