diff --git a/adblock_test.sh b/adblock_test.sh index 346110f..2c2fab7 100644 --- a/adblock_test.sh +++ b/adblock_test.sh @@ -26,7 +26,7 @@ if [ -z "$1" ] else dns=$1 fi -domains=$(curl -s https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts | grep -v \# | shuf -n 10 | cut -d" " -f2) +domains=$(curl -s https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts | grep -v ^# | shuf -n 10 | cut -d" " -f2) for j in $domains; do echo -e "${YELLOW}$j${NC}:" output=$(dig @$dns $j +short)