From 996eb7aebd15ccca04e1f03a7423a767a6d44772 Mon Sep 17 00:00:00 2001 From: Martin Cech Date: Wed, 19 Aug 2015 16:07:27 -0400 Subject: [PATCH] formatiing --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0962b98..a00b4c9 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,8 @@ Feel free to create PR with additions or request removal of some domain (with re Use -`cat disposable_email_blacklist.conf your_file | tr '[:upper:]' '[:lower:]' | sort -f | uniq -i > new_file.conf` -`comm -23 new_file.conf whitelist.conf > disposable_email_blacklist.conf` +`$ cat disposable_email_blacklist.conf your_file | tr '[:upper:]' '[:lower:]' | sort -f | uniq -i > new_file.conf` + +`$ comm -23 new_file.conf whitelist.conf > disposable_email_blacklist.conf` to add contents of another file in the same format (domains on new line without @). It also converts uppercase to lowercase, sorts, removes duplicates and removes whitelisted domains.