14.2 Sample gawk Debugging Session

In order to illustrate the use of gawk as a debugger, let’s look at a sample debugging session. We will use the awk implementation of the POSIX uniq command presented earlier (see Printing Nonduplicated Lines of Text) as our example.