bug-bash
[Top][All Lists]
Advanced

[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

Attachment: getopttest
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]