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 ;}
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.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| Availability | SUNWcsu |
SEE ALSO
SunOS 5.6 — Last change: 15 Apr 1994