Deprecated in favour of argp.sh
process-getopt is a wrapper around getopt to make life much easier for script developers (me). It's used in most of my scripts. The essential file to install is the first one here - the script itself. Put it somewhere on your path. The other files are documentation and examples.
To get the latest:
svn checkout svn://svn.code.sf.net/p/process-getopt/code/trunk process-getopt-code