mirror of
https://bitbucket.org/anticensority/antizapret-pac-generator-light.git
synced 2024-11-25 14:46:04 +03:00
Skip cyrillic 'bеllonа' from the list
This commit is contained in:
parent
6479aa1416
commit
32f7ab498e
2
parse.sh
2
parse.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user