From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26884 invoked from network); 20 Jun 2001 18:23:01 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 20 Jun 2001 18:23:01 -0000 Received: (qmail 13956 invoked by alias); 20 Jun 2001 18:22:23 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15006 Received: (qmail 13938 invoked from network); 20 Jun 2001 18:22:22 -0000 From: "Bart Schaefer" Message-Id: <1010620182039.ZM9059@candle.brasslantern.com> Date: Wed, 20 Jun 2001 18:20:39 +0000 In-Reply-To: Comments: In reply to Andrej Borsenkow "Re: PATCH: 4.1: multi-parameter for loop" (Jun 20, 10:01pm) References: X-Mailer: Z-Mail (5.0.0 30July97) To: Andrej Borsenkow Subject: Re: PATCH: 4.1: multi-parameter for loop Cc: Zsh hackers list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 20, 10:01pm, Andrej Borsenkow wrote: } Subject: Re: PATCH: 4.1: multi-parameter for loop } } On Wed, 20 Jun 2001, Peter Stephenson wrote: } } > This extends the for syntax to take multiple parameters after it } } This for sure is incompatible with POSIX and all known shells. It } does not make legal scripts fail, but it makes illegal scripts legal. } Should we care about it? In general we've taken the position that this is OK. Consider the "foreach" form, or "if [[ test ]] { command }", etc. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net