85
85
f_mis " ${miss_v} " " ${ar_cat[*]} "
86
86
fi
87
87
88
- printf " \n${_CYN} sub-domains across CATEGORIES%-19s " " [PRUNE]"
88
+ printf " \n${_CYN} sub-domains if parent domain exist across CATEGORIES%-3s " " [PRUNE]"
89
89
prun_ini=$( mktemp -p " ${_DIR} " )
90
90
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
93
93
f_do
94
94
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"
98
98
while IFS= read -r; do
99
99
perl -MNet::Netmask -ne ' m!(\d+\.\d+\.\d+\.\d+/?\d*)! or next;
100
100
$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
103
103
cp " ${ar_prn[1]} " " ${ar_CAT[1]} "
104
104
f_do
105
105
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"
107
107
_srt " ${prun_out} " " ${ar_CAT[O]} " | uniq -d > " ${ar_prn[O]} "
108
108
cp " ${ar_prn[O]} " " ${ar_CAT[O]} "
109
109
f_do
0 commit comments