[PLUG] bash and awk strangeness

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


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



More information about the PLUG mailing list