Hi, if I run getopts for the second time it ignores all its arguments. No matter how $OPTIND is set. It worked fine in bash2, it is broken in bash3. Is there a bug in the attached code or in bash? Thanks, Lace
getopttest Description: Text document