Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
"continue -1" confuses zsh
- X-seq: zsh-users 13166
- From: Daniel Qarras <dqarras@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: "continue -1" confuses zsh
- Date: Sat, 30 Aug 2008 11:50:48 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Message-ID; b=JI7TMlkqeYX4ziGdgiVATp172h6oB/t7ZbCSuwp5f+xiBmdNm24djSV6Y30V14VQwg5o1EhtS/isxOHew/FzW25OX6ysZPEx3T9kZ6Dw69c+ss3pxfVZy0oZJexXblOnoopJneInUwaUMEyt5GV7HbSVWmgFaswVtuJUcaYXk7o=;
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Reply-to: dqarras@xxxxxxxxx
Hi,
noticed this one too in RH Bugzilla:
while [ 1 ]; do continue -1; done
confuses zsh: no errors are printed, the loop exits, but then no commands are executed anymore. Easy to reproduce:
localhost:~> echo foo
foo
localhost:~> while [ 1 ]; do continue -1; done
localhost:~> echo foo
localhost:~>
Cheers!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author