10.9 Exercises

  1. In Checking for Zero-Length Files, we presented the zerofile.awk program, which made use of gawk’s ARGIND variable. Can this problem be solved without relying on ARGIND? If so, how?
  2. As a related challenge, revise that code to handle the case where an intervening value in ARGV is a variable assignment.