mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-17 04:22:59 +03:00
move dig-specific filter to digger()
This commit is contained in:
parent
c070cc9528
commit
38ab24da68
@ -19,7 +19,7 @@ digger()
|
||||
if [ -x $MDIG ]; then
|
||||
$MDIG --family=4 --threads=$MDIG_THREADS <$1
|
||||
else
|
||||
dig A +short +time=8 +tries=2 -f $1
|
||||
dig A +short +time=8 +tries=2 -f $1 | grep -E '^[^;].*[^\.]$'
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -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 '^[^;].*[^\.]$' | cut_local >$ZIPLISTTMP || {
|
||||
digger $ZDIG | cut_local >$ZIPLISTTMP || {
|
||||
rm -f $ZDIG
|
||||
exit 1
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user