Skip to content

Commit 0460594

Browse files
committed
v9.5-commit
1 parent e71c754 commit 0460594

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

libs/grab_duplic.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,16 +85,16 @@ else
8585
f_mis "${miss_v}" "${ar_cat[*]}"
8686
fi
8787

88-
printf "\n${_CYN} sub-domains across CATEGORIES%-19s" "[PRUNE]"
88+
printf "\n${_CYN} sub-domains if parent domain exist across CATEGORIES%-3s" "[PRUNE]"
8989
prun_ini=$(mktemp -p "${_DIR}")
9090
prun_out=$(mktemp -p "${_DIR}")
91-
_srt "${ar_CAT[0]}" "${ar_CAT[@]:2:5}" > "${prun_ini}"
92-
f_prn "${prun_ini}" "${prun_out}" # pruning sub-domain across CATEGORIES
91+
_srt "${ar_CAT[0]}" "${ar_CAT[@]:2:5}" > "${prun_ini}" # pruning sub-domain if parent domain
92+
f_prn "${prun_ini}" "${prun_out}" #+ exist across CATEGORIES
9393
f_do
9494

95-
for O in "${!ar_cat[@]}"; do # retrieve pruned sub-domains from across
96-
if [[ ${O} -eq 1 ]]; then #+ CATEGORIES to the current category
97-
printf "%3sretrieve pruned sub-domains to: %-21s" "" "${ar_cat[1]^^} category"
95+
for O in "${!ar_cat[@]}"; do # send back pruned sub-domains an ipv4-addresses from across
96+
if [[ ${O} -eq 1 ]]; then #+ CATEGORIES to the appropriate category
97+
printf "%3ssend back pruned ipv4-addresses to: %-24s" "" "${ar_cat[1]^^} category"
9898
while IFS= read -r; do
9999
perl -MNet::Netmask -ne 'm!(\d+\.\d+\.\d+\.\d+/?\d*)! or next;
100100
$h = $1; $h =~ s/(\.0)+$//; $b = Net::Netmask->new($h); $b->storeNetblock();
@@ -103,7 +103,7 @@ for O in "${!ar_cat[@]}"; do # retrieve pruned sub-domains from across
103103
cp "${ar_prn[1]}" "${ar_CAT[1]}"
104104
f_do
105105
else
106-
printf "%3sretrieve pruned sub-domains to: %-21s" "" "${ar_cat[O]^^} category"
106+
printf "%3ssend back pruned sub-domains to: %-27s" "" "${ar_cat[O]^^} category"
107107
_srt "${prun_out}" "${ar_CAT[O]}" | uniq -d > "${ar_prn[O]}"
108108
cp "${ar_prn[O]}" "${ar_CAT[O]}"
109109
f_do

0 commit comments

Comments
 (0)