General greatness aside, I have to say that's the best quality awk code I've seen. Too many people treat writing awk like picking up after your dog - something to get done quickly, when you have to. Which leads to write-only line noise code, which leads to people treating awk like picking up... I used to write a fair amount of AWK code back in the day. It was great for one-liners, but I wrote some