manpages.info - online man pages   

SunOS man pages : function (1)

User Commands                                         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 identif- ier. 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 attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | | Availability | SUNWcsu | |_____________________________|_____________________________|

SEE ALSO

ksh(1), attributes(5) SunOS 5.8 Last change: 15 Apr 1994 1