[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
getopts broken on second execution
From: |
Jan Kratochvil |
Subject: |
getopts broken on second execution |
Date: |
Thu, 23 Dec 2004 09:37:47 +0100 |
User-agent: |
Mutt/1.4.1i |
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
- getopts broken on second execution,
Jan Kratochvil <=