"When it comes to slicing and dicing text, few tools are as
powerful, or as underutilized, as awk. The name 'awk' was coined
from the initials of its authors, Aho, Weinberger, and
Kernighan--yes, the same Kernighan of the famous Kernighan and
Ritchie 'C Programming Language' book. In the Linux world, every
distribution includes the GNU version, gawk (/bin/awk is usually a
symbolic link to /bin/gawk). The GNU version has a few more
features than the original. Let's play with some of the core
features common among POSIX-compliant awks.
"In this article, when I reference awk, I am really using
gawk..."