function
{
; }
Korn shell only. Define name as a shell function. See the description of semantic issues in the name () entry earlier.
()
Define a function to count files.
$ function fcount { > ls | wc -l > }
function fcount {
ls | wc -l
}