From c070cc95288d2437671bde39174abfc1fd8f5d04 Mon Sep 17 00:00:00 2001 From: bolvan Date: Wed, 17 Apr 2019 16:33:09 +0300 Subject: [PATCH] get_reestr use cut_local --- ipset/get_reestr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipset/get_reestr.sh b/ipset/get_reestr.sh index 74b8a73..1760296 100755 --- a/ipset/get_reestr.sh +++ b/ipset/get_reestr.sh @@ -30,7 +30,7 @@ echo preparing dig list .. cut -f2 -d';' $ZREESTR | grep -avE '^$|\*|:' >$ZDIG rm -f $ZREESTR echo digging started ... -digger $ZDIG | grep -E '^[^;].*[^\.]$' | grep -vE '^192\.168\.[0-9]+\.[0-9]+$' | grep -vE '^127\.[0-9]+\.[0-9]+\.[0-9]+$' | grep -vE '^10\.[0-9]+\.[0-9]+\.[0-9]+$' >$ZIPLISTTMP || { +digger $ZDIG | grep -E '^[^;].*[^\.]$' | cut_local >$ZIPLISTTMP || { rm -f $ZDIG exit 1 }