Created
May 10, 2019 21:54
-
-
Save screeny05/3913a84a736fcab7c52cb62da242553f to your computer and use it in GitHub Desktop.
Easylist to Dnsmasq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -q -nv https://easylist-downloads.adblockplus.org/easylist.txt -O list | |
egrep '^\|\|([a-Z\.]+)\^$' list | cut -d '^' -f1 | sed 's#||#address=/# ; s#$#/127.0.0.1#' | sort | uniq > list.dnsmasq | |
rm list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment