This is an old revision of the document!
Overview
An attempt at summarizing the right way to use POSIX-compliant getopts
.
A couple links:
Starting points
First, there has been much blood spilled discussing how to support optional arguments using getopts
– the correct solution is to not do that, as explained in Guideline 7 here.