function(1)
NAME
function − shell built-in command to define a function which is usable within this shell
SYNOPSIS
ksh
function identifier { list ;}
identifier() { list ;}
AVAILABILITY
SUNWcsu
DESCRIPTION
ksh
function defines a function which is referenced by identifier. The body of the function is the list of commands between { and }.
Alternatively, omitting the function keyword and appending the identifier with a set of enclosed parentheses will accomplish the same function definition.
SEE ALSO
SunOS 5.5.1 — Last change: 15 Apr 1994