in reply to Re^3: Match IP from 2nd line and Print Hostname from 1st linein thread Match IP from 2nd line and Print Hostname from 1st line