From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20344 invoked from network); 27 Nov 2000 12:42:24 -0000 Received: from sunsite.dk (HELO sunsite.auc.dk) (130.225.51.30) by ns1.primenet.com.au with SMTP; 27 Nov 2000 12:42:24 -0000 Received: (qmail 5946 invoked by alias); 27 Nov 2000 12:42:17 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13200 Received: (qmail 5939 invoked from network); 27 Nov 2000 12:42:16 -0000 Date: Mon, 27 Nov 2000 13:42:14 +0100 (MET) Message-Id: <200011271242.NAA26087@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Bart Schaefer"'s message of Wed, 22 Nov 2000 08:11:41 +0000 Subject: Re: xterm title/screen title+hardstatus Bart Schaefer wrote: > ... > > When you do this: > > spl=${(z)cmd} > > The type of `spl' is a string if ${(z)cmd} is a string, or an array if > ${(z)cmd} is an array. 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...). But it's easy to change (removing lines 1800/01 in subst.c), should I? Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de