Functions

Functions with arguments

Simple Function

Handling flags and optional parameters

Return value from a function

The exit code of a function is the exit code of its last command

Print the function definition

A function that accepts named parameters