mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-17 04:22:59 +03:00
digger : report hostfile and its length
This commit is contained in:
parent
d6155d16b9
commit
730daf720f
@ -33,6 +33,8 @@ zz()
|
||||
|
||||
digger()
|
||||
{
|
||||
>&2 echo digging "$1" : hosts=$(wc -l <"$1")
|
||||
|
||||
if [ -x "$MDIG" ]; then
|
||||
zzcat "$1" | "$MDIG" --family=4 --threads=$MDIG_THREADS --stats=1000
|
||||
else
|
||||
|
@ -30,7 +30,6 @@ echo preparing dig list ..
|
||||
cut -f2 -d ';' "$ZREESTR" | grep -avE '^$|\*|:' >"$ZDIG"
|
||||
rm -f "$ZREESTR"
|
||||
echo digging started. this can take long ...
|
||||
echo domains in the list : $(wc -l <"$ZDIG")
|
||||
digger "$ZDIG" | cut_local >"$ZIPLISTTMP" || {
|
||||
rm -f "$ZDIG"
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user