bash
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
bash [2020/08/12 17:20] – [set options] shawn | bash [2020/08/12 17:24] – [Variables] Adds functions shawn | ||
---|---|---|---|
Line 24: | Line 24: | ||
* '' | * '' | ||
+ | ====== Functions ====== | ||
+ | Declaring a function (needs to happen before use): | ||
+ | |||
+ | '' | ||
+ | |||
+ | - or - | ||
+ | |||
+ | ''< | ||
+ | |||
+ | * Nothing ever goes inside parentheses. | ||
+ | * Passed parameters can be accessed with '' |
bash.txt · Last modified: 2020/08/12 19:07 by shawn