getopts string name [arg]
getopts
string
name
arg
Same as built-in Bourne shell command getopts. See Section 4.