azet / community_bash_style_guide

Community Bash Style Guide: writing useful and modern bash scripts, seriously.
Creative Commons Attribution 4.0 International
298 stars 37 forks source link

Getops for command line options #3

Closed gullevek closed 10 years ago

gullevek commented 10 years ago

Instead of complex $0, $1, etc just use getopts

azet commented 10 years ago

thank you.