#! /bin/bash $fp < "/etc/nmap.txt.new" while read mach_nam ip_add; do echo 'M=>" mach_nam "I=>" ip_add; done < "$fp"