UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: forChapter 11
The Awk Scripting Language
Next: Reference: getline
 

function

function name(parameter-list) {
     statements
}

Create name as a user-defined function consisting of awk statements that apply to the specified list of parameters.


Previous: Reference: forUNIX in a Nutshell: System V EditionNext: Reference: getline
Reference: forBook IndexReference: getline

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System