function - define a function
function name { list }
This command is a Korn-shell built-in command.
The function(1) command defines the function name. See the Functions section in ksh(1). Note that redirections specified after a function definition are performed whenever the function is executed, not when the function definition is executed.