Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: xterm title/screen title+hardstatus
- X-seq: zsh-workers 13200
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: xterm title/screen title+hardstatus
- Date: Mon, 27 Nov 2000 13:42:14 +0100 (MET)
- In-reply-to: "Bart Schaefer"'s message of Wed, 22 Nov 2000 08:11:41 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author