DEPRECATED in favour of argp.sh: https://sourceforge.net/p/argpsh/
process_getopt(1) is a wrapper around getopt for bashscript developers. It saves you time, reduces the chance for errors and increases the chance that doco is actually written. It is the bash equivalent of RedHat's popt and GNU's argp for C.
There is also a 'c' version in case speed ever becomes an issue.