UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: forChapter 11
The awk Programming 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. No space is allowed between name and the left paren when the function is called. {N}


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