Bash scripting - Ourstress/fabricHi GitHub Wiki
Spaces are very important
foo=barassigns the value bar to variable foofoo = barcalls the foo function and equal is a parameter
Functions are executed in the current shell environment whereas scripts execute in their own process
- functions can modify environment variables, e.g. set new variable that fabric requires whereas scripts can’t
Reference: https://missing.csail.mit.edu