From 2d01fb585a1fd34a1d175fa68f69da035f5e6d64 Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Thu, 1 Apr 2021 04:36:20 +0000 Subject: [PATCH] refactor: remove unnecessary ip-removal --- src/script.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/script.sh b/src/script.sh index 145c660..8a7431d 100644 --- a/src/script.sh +++ b/src/script.sh @@ -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"