Nick Shoults - 2003-02-27

Logged In: YES
user_id=722471

I am by NO means an expert in bash scripts but I do know a
few languages. It looks as though the problem line is:
while getopts d:t:i:r:m:s:b: OPT $SAVEARGS; do
and can be rewritten as:
while getopts d:t:i:r:m:s:b:3: OPT $SAVEARGS; do

Everything else looks good, the shift 2 is before the end of the
loop and just pulls the first two arguments off and reruns the
loop which only processes two arguments at a time, one
option and one option argument.

Hope this is helpful,
Nick