open(INP,") { s/eth0:(\d)/eth0: $1/; @a=split; print "$a[1]\n$a[9]\n" if ($a[0]=~s/eth0://); }