- This specific repo is a place to stoe some small scripts showing bash usage in the context of a script.
- Cut/paste snippets in the main "ontheline" repo here:
- Example scripts:
- bashmain : Use of a main() function to improve script readability.
- cli-argv : Using positional command line arguments to bash scripts.
- getopts : Using arguments and options with getopt built in.
- getopts-function : Using getopts within a bash function.
- mixed-getopts-args : Using getopts and a final positional arg. e.g. a filepath/filename.