refactor: remove unnecessary ip-removal
This commit is contained in:
parent
1369b7df7b
commit
2d01fb585a
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue