Skip cyrillic 'bеllonа' from the list

This commit is contained in:
ValdikSS 2024-01-06 03:11:55 +03:00
parent 6479aa1416
commit 32f7ab498e

View File

@ -7,7 +7,7 @@ HERE="$(dirname "$(readlink -f "${0}")")"
cd "$HERE" cd "$HERE"
# Extract domains from list # 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 # Generate zones from domains
# FIXME: nxdomain list parsing is disabled due to its instability on z-i # FIXME: nxdomain list parsing is disabled due to its instability on z-i