From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 579 invoked from network); 7 May 1999 12:16:33 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 7 May 1999 12:16:33 -0000 Received: (qmail 23254 invoked by alias); 7 May 1999 12:16:13 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6233 Received: (qmail 23247 invoked from network); 7 May 1999 12:16:11 -0000 Message-Id: <9905071151.AA42253@ibmth.df.unipi.it> To: zsh-workers@sunsite.auc.dk Subject: Re: BUG: zsh-3.1.5-pws-14: parameter expansion not working properly In-Reply-To: "Sven Wischnowsky"'s message of "Fri, 16 Apr 1999 09:36:31 DFT." <199904160736.JAA15853@beta.informatik.hu-berlin.de> Date: Fri, 07 May 1999 13:51:47 +0200 From: Peter Stephenson Sven Wischnowsky wrote: > > [ There is a little patchlet below. I don't suggest using it to > everyone just now, it's just that I can think about this better when > I have cod to play with. Didn't have the time for this yesterday. ] Is there any agreement on this patch (6046) to introduce the variable mult_isarr to keep track of whether a nested parameter substitution returns an array? If so, what documentation changes are needed (which might help tell everyone else what it's doing)? And what about the other glitch that was noticed, that a single word array is always turned into a scalar (currently around line 1471 in subst.c), do we get rid of that for consistency? And do either of these require any changes to the existing shell code in the distribution? -- Peter Stephenson Tel: +39 050 844536 WWW: http://www.ifh.de/~pws/ Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy