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