iplist-c

#!/bin/sh
cat /tmp/1| while read LINE
do
   echo $LINE
    whois3 -h whois.apnic.net $LINE
done > /tmp/mm3
cat /tmp/mm3 | awk /netname/ | awk '{print $2}' >/tmp/mm4
paste /tmp/1 /tmp/mm4 >ss
exit

你可能感兴趣的:(iplist-c)