You can simply do something like this:
Code:
nawk '! $4 {printf "line %04d has zero\n",NR}' file
in this particular case the expression "! $4" evaluates to true if $4 is not different than zero (remember that in awk any non-zero numeric value or any non-empty string value is true, while any other value - zero or the null string - is false). A more explicit version is simply
Code:
nawk '{if ($4 == 0) printf "line %04d has zero\n",NR}' file