functionsdisplay or modify KornShell functions |
KornShell Built-in |
functions
[-tux
] [name]
[name]...
functions
lets you modify the attributes of the functions
specified by the list of names in the command line. It is a built-in
alias of sh
defined with
If no function names are specified,alias functions='typeset -f'
functions
displays all currently defined functions with the attributes specified by the
options. If no options are given, functions
lists all
currently defined functions.
-t
turns on the xtrace
option for the given functions. See
set
.
-u
allows you to specify attributes for functions which are not yet defined.
-x
marks a function for automatic export. See
export
.
0
Successful completion.
>0
The number of invalid names specified on the command line.
functions
is built into the KornShell
but not the Bourne Shell.