From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 501 invoked from network); 27 Aug 2001 07:24:29 -0000 Received: from ns2.primenet.com.au (HELO primenet.com.au) (?lr9KQr8ebsw6989l48/YyHOA6bH9cgkz?@203.24.36.3) by ns1.primenet.com.au with SMTP; 27 Aug 2001 07:24:29 -0000 Received: (qmail 1307 invoked from network); 27 Aug 2001 07:24:26 -0000 Received: from sunsite.dk (130.225.51.30) by ns2.primenet.com.au with SMTP; 27 Aug 2001 07:24:26 -0000 Received: (qmail 23001 invoked by alias); 27 Aug 2001 07:22:25 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15710 Received: (qmail 22984 invoked from network); 27 Aug 2001 07:22:23 -0000 From: Bart Schaefer Message-Id: <1010827072201.ZM32253@candle.brasslantern.com> Date: Mon, 27 Aug 2001 07:22:01 +0000 In-Reply-To: <3B893907.7000008@mow.siemens.ru> Comments: In reply to Borsenkow Andrej "Re: Quoted parameter parsing glitch" (Aug 26, 9:59pm) References: <1010826172637.ZM31172@candle.brasslantern.com> <3B893907.7000008@mow.siemens.ru> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Re: Quoted parameter parsing glitch MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Aug 26, 9:59pm, Borsenkow Andrej wrote: } } Bart Schaefer wrote: } > } > The question is whether "${foo:-"}"}" is valid. } } No. Pairs of quotes and braces must match. And is there no way to quote a brace within braces? In any case, zsh accepts the above, nested like so: " " ${ } foo:-" " } I don't see any reason to change that in zsh, even if it's not accepted under the POSIX rules, unless it conflicts with whatever means POSIX provides for quoting the inner right brace. -- 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