Bash Functions
Jump to navigation
Jump to search
Internal
Defintion
Syntax
[function] function-name() { ... }
The "function" keyword is optional.
Arguments
The function does not declare its arguments in the signature. They are available in the function's body as $1, $2, etc.