On Thu, 3 Mar 2011, Daniel Hedlund wrote:

> Rich's awk script only checks the second column for 0.000.

Daniel,

   Yes. If the second column has zeros, so would the third column.

> ...if he wants to continue using awk, I believe the following will
> work (the "print NR" was removed):
>
> BEGIN { FS="|" }
>  {if ($2 != 0.000000)
>    print $1"|"$2"|"$3}
> END {}

   Yeah. The 'print NR' wasn't working anyway.

Thanks,

Rich
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to