Use getopts to parse arguments
Use standard builtin getopts
to parse arguments
- It use standard command line interface
- It is much more reliable and secure
- It is solved problem already (and somewhere else). We don't need to write all things from the scratch