[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    function(1) manual page Table of Contents

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

ksh(1)


Table of Contents