getopts optstring name [args]
ParameterDetailoptstringThe option characters to be recognizednameThen name where parsed option is stored
Options
optstring : The option characters to be recognized
If a character is followed by a colon, the option is expected to
have an argument, whi...