Previous: , Up: Library Functions   [Contents][Index]

10.9 Exercises

  1. In Empty 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.