digger : report hostfile and its length

This commit is contained in:
bolvan 2019-05-12 12:58:27 +03:00
parent d6155d16b9
commit 730daf720f
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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