Skip to content

garyjlittle/bash

Repository files navigation

Scripts

  • 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.

About

Everyone loves bash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages