awk programs can often be simplified by defining
your own functions. User-defined functions can be called just like
built-in ones (see section Function Calls), but it is up to you to define
awk what they should do.
Go to the first, previous, next, last section, table of contents.