I am trying to get the output of a list of hosts, using the unix command nslookup + the list of hosts, but I am getting an error although it does work when I only have one host. Is there an easier way to do what I am doing or can you help me fix this simple script? My script