This section presents a number of POSIX utilities that are implemented in
awk
. Re-inventing these programs in awk
is often enjoyable,
since the algorithms can be very clearly expressed, and usually the code is
very concise and simple. This is true because awk
does so much for you.
It should be noted that these programs are not necessarily intended to
replace the installed versions on your system. Instead, their
purpose is to illustrate awk
language programming for "real world"
tasks.
The programs are presented in alphabetical order.
Go to the first, previous, next, last section, table of contents.