On Tue, 27 Jan 2015, Daniel Herrington wrote: > host=$(awk '{ print "wtf:" $m }') Daniel, Your awk statement begins by printing the string, wtf: and that is why you see that in the output. As Paul wrote, show us the input file and we can examine the output relative to it. Regards, Rich