Using awk
awk does several useful things that you have to program for yourself in other languages. As a result, many awk programs are only one or two lines long. Because awk programs are usually smaller than equivalent programs in other languages, and because they are interpreted, not compiled, awk is also a good language for prototyping (that is, for writing quick prototypes of programs that will later be converted into a compiled language).
This chapter explains the following: