From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19305 invoked from network); 18 Apr 2001 08:44:28 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 18 Apr 2001 08:44:28 -0000 Received: (qmail 2093 invoked by alias); 18 Apr 2001 08:44:23 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14012 Received: (qmail 2078 invoked from network); 18 Apr 2001 08:44:22 -0000 From: Sven Wischnowsky Date: Wed, 18 Apr 2001 10:44:20 +0200 (MET DST) Message-Id: <200104180844.KAA08883@beta.informatik.hu-berlin.de> To: zsh-workers@sunsite.dk Subject: Re: PATCH: Assorted parameter stuff In-Reply-To: <1010418065750.ZM28885@candle.brasslantern.com> Bart Schaefer wrote: > Everybody must be on spring break. I forgot to copy it onto my laptop yesterday, sorry. I'll give 14008 a try. > ... > > One additional question: I think it'd be straightforward to make this > be parsed as all one word: > > % echo $foo[(i)dom str] > > I.e. the space inside the [ ] could implicitly be quoted. Currently > it's necessary to use "$foo[(i)dom str]" to get an embedded space in a > subscript. I can't think of any way in which such a change would break > a currently-working script. Is it worth trying? Oh, that would be wonderful. I remember me fighting with that several times (it can get pretty ugly with nested expansions and arrays). Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de