Can you use the bash "getopts" function twice in the same script?
I have a set of parameters that will mean different things depending on the value of a particular parameter. Since I cannot guarantee that getopts will evaluate this particular parameter first, I would like to run getopts once using only that particular parameter, and then run it a second time using other parameters.
source
share