http://www.usf.uos.de/infoservice/doc/

(gawk.info)User-defined


Next: Invoking Gawk Prev: Built-in Up: Top
Enter node , (file) or (file)node

User-defined Functions
**********************

   Complicated `awk' programs can often be simplified by defining your
own functions.  User-defined functions can be called just like built-in
ones (Note: Function Calls.), but it is up to you to define them--to
tell `awk' what they should do.


* Definition Syntax
How to write definitions and what they mean.
* Function Example
An example function definition and what it does.
* Function Caveats
Things to watch out for.
* Return Statement
Specifying the value a function returns.

Next: Invoking Gawk Prev: Built-in Up: Top
[ Dokumentation lokal installierter Software ]