From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12240 invoked from network); 22 Apr 2001 22:38:50 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 22 Apr 2001 22:38:50 -0000 Received: (qmail 1886 invoked by alias); 22 Apr 2001 22:38:29 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14067 Received: (qmail 1862 invoked from network); 22 Apr 2001 22:38:29 -0000 To: zsh-workers@sunsite.auc.dk (Zsh hackers list) Subject: Re: PATCH: Array subscript documentation In-reply-to: ""Bart Schaefer""'s message of "Sun, 22 Apr 2001 18:51:36 -0000." <1010422185136.ZM8093@candle.brasslantern.com> Date: Sun, 22 Apr 2001 23:40:53 +0100 From: Peter Stephenson Message-Id: <20010422224053.82020139C3@pwstephenson.fsnet.co.uk> > +example(typeset -A aa > +typeset "aa[one\"two\"three\"quotes]"=QQQ > +print "$aa[one\"two\"three\"quotes]") Unless there's something remaining uncommitted, the last line still doesn't work. The assignment strips the backslashes, but the expansion doesn't. I suppose that's because the Bnull's don't get stripped till after the end of the parameter expansion. But I don't really understand. -- Peter Stephenson Work: pws@csr.com Web: http://www.pwstephenson.fsnet.co.uk