Bash Functions: Difference between revisions
Jump to navigation
Jump to search
(→Syntax) |
|||
Line 12: | Line 12: | ||
The "function" keyword is optional. | The "function" keyword is optional. | ||
The function does not declare its arguments in the signature. They are available in the function's body as $1, $2, etc. | |||
=Executing a Function in Background= | =Executing a Function in Background= |
Revision as of 23:42, 15 July 2017
Internal
Defintion
Syntax
[function] function-name() { ... }
The "function" keyword is optional.
The function does not declare its arguments in the signature. They are available in the function's body as $1, $2, etc.