From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 369 invoked from network); 27 Nov 2000 16:53:16 -0000 Received: from sunsite.dk (HELO sunsite.auc.dk) (130.225.51.30) by ns1.primenet.com.au with SMTP; 27 Nov 2000 16:53:16 -0000 Received: (qmail 2870 invoked by alias); 27 Nov 2000 16:53:04 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13202 Received: (qmail 2857 invoked from network); 27 Nov 2000 16:52:59 -0000 From: "Bart Schaefer" Message-Id: <1001127162602.ZM16964@candle.brasslantern.com> Date: Mon, 27 Nov 2000 16:26:02 +0000 In-Reply-To: <200011271242.NAA26087@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: xterm title/screen title+hardstatus" (Nov 27, 1:42pm) References: <200011271242.NAA26087@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Re: xterm title/screen title+hardstatus MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Nov 27, 1:42pm, Sven Wischnowsky wrote: } } Bart Schaefer wrote: } } > [...] It just happens that when $cmd has only one word, } > ${(z)cmd} is a string, and otherwise it's an array. That's probably not } > intentional -- most likely (z) should always return a (maybe one-element) } > array. } } It is intentional -- directly modelled after (s...). In that case I think it should stay as is. -- 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