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