mirror of
https://github.com/disposable-email-domains/disposable-email-domains.git
synced 2024-11-22 16:48:13 +08:00
introduce whitelist handling to the code snippet
This commit is contained in:
parent
0231f05853
commit
5c1cd45cd2
@ -38,6 +38,7 @@ Feel free to create PR with additions or request removal of some domain (with re
|
|||||||
|
|
||||||
Use
|
Use
|
||||||
|
|
||||||
`cat disposable_email_blacklist.conf your_file | sort -f | uniq -i > new_file`
|
`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 @).
|
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user