Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ function(1) — SunOS 5.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ksh(1)

attributes(5)

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

ksh(1), attributes(5)

SunOS 5.6  —  Last change: 15 Apr 1994

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026