From 32f7ab498ee1452a4c811088755921279d60ce14 Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Sat, 6 Jan 2024 03:11:55 +0300 Subject: [PATCH] =?UTF-8?q?Skip=20cyrillic=20'b=D0=B5llon=D0=B0'=20from=20?= =?UTF-8?q?the=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parse.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse.sh b/parse.sh index c15aba6..c840f3f 100755 --- a/parse.sh +++ b/parse.sh @@ -7,7 +7,7 @@ HERE="$(dirname "$(readlink -f "${0}")")" cd "$HERE" # Extract domains from list -awk -F ';' '{print $2}' temp/list.csv | sort -u | awk '/^$/ {next} /\\/ {next} /^[а-яА-Яa-zA-Z0-9\-\_\.\*]*+$/ {gsub(/\*\./, ""); gsub(/\.$/, ""); print}' | CHARSET=UTF-8 idn > result/hostlist_original.txt +awk -F ';' '{print $2}' temp/list.csv | sort -u | awk '/^$/ {next} /\\/ {next} /^[а-яА-Яa-zA-Z0-9\-\_\.\*]*+$/ {gsub(/\*\./, ""); gsub(/\.$/, ""); print}' | grep -Fv 'bеllonа' | CHARSET=UTF-8 idn > result/hostlist_original.txt # Generate zones from domains # FIXME: nxdomain list parsing is disabled due to its instability on z-i