From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22838 invoked from network); 17 Feb 2000 18:36:26 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 17 Feb 2000 18:36:26 -0000 Received: (qmail 4000 invoked by alias); 17 Feb 2000 18:36:21 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9780 Received: (qmail 3993 invoked from network); 17 Feb 2000 18:36:21 -0000 To: zsh-workers@sunsite.auc.dk Subject: Re: PATCH: Re: Oh no, parameter expansion In-reply-to: "Sven Wischnowsky"'s message of "Thu, 17 Feb 2000 14:49:41 +0100." <200002171349.OAA26252@beta.informatik.hu-berlin.de> Date: Thu, 17 Feb 2000 18:39:56 +0000 From: Peter Stephenson Message-Id: Sven Wischnowsky wrote: > The patch below should make it return a string only if the subscript > does not contain a comma. I.e. with $a being an array, $a[1] gives a > string and $a[1,1] gives an array. Seems sensible, doesn't it? Yes, that's much more logical. -- Peter Stephenson