More parsing...
parent
69bfb044f5
commit
4fd04b13db
|
@ -35,6 +35,5 @@ while IFS= read -r line; do
|
|||
ipv6="$(<<<"${ips}" grep ':')"
|
||||
ipv4="${ipv4%%/*}"
|
||||
ipv6="${ipv6%%/*}"
|
||||
<<<"${res}" grep -B1 " ${ipv4}" >>"${LOGFILE}"
|
||||
<<<"${res}" grep -B1 " ${ipv6}" >>"${LOGFILE}"
|
||||
<<<"${res}" grep -B1 " ${ipv4}\| ${ipv6}" | sed '/--/d' | cut -f2 >>"${LOGFILE}"
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue