Node:User-defined, Previous:Built-in, Up:Functions
Complicated awk
programs can often be simplified by defining
your own functions. User-defined functions can be called just like
built-in ones (see Function Calls), but it is up to you to define
them, i.e., to tell awk
what they should do.