[PLUG] bash and awk strangeness

Rich Shepard rshepard at appl-ecosys.com
Tue Jan 27 10:15:53 PST 2015

On Tue, 27 Jan 2015, Daniel Herrington wrote:

>      host=$(awk '{ print "wtf:" $m }')


   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.



More information about the PLUG mailing list