refactor: remove unnecessary ip-removal

This commit is contained in:
Ming Di Leom 2021-04-01 04:36:20 +00:00
parent 1369b7df7b
commit 2d01fb585a
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 0 additions and 2 deletions

View File

@ -107,8 +107,6 @@ sed '1 i\'"$COMMENT"'' > "../dist/pup-filter-domains.txt"
## Hosts file blocklist
cat "pup-notop-domains.txt" | \
# Remove IPv4 address
grep -vE "([0-9]{1,3}[\.]){3}[0-9]{1,3}" | \
sed "s/^/0.0.0.0 /g" | \
sed '1 i\'"$COMMENT"'' | \
sed "1s/Domains/Hosts/" > "../dist/pup-filter-hosts.txt"