-
-
Save darkxanter/a8ffb989ce6ca0982ee500b0be9f101c to your computer and use it in GitHub Desktop.
Easylist to Dnsmasq
This file contains 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