From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Vincent Lefevre <Vincent.Lefevre@ens-lyon.fr>
Cc: zsh-users@math.gatech.edu
Subject: Re: Empty array and parameter expansion
Date: Wed, 10 Jun 1998 19:30:12 -0700 [thread overview]
Message-ID: <980610193012.ZM13897@candle.brasslantern.com> (raw)
In-Reply-To: <19980610233608.A9175@ens-lyon.fr>
On Jun 10, 11:36pm, Vincent Lefevre wrote:
> Subject: Re: Empty array and parameter expansion
> On Wed, Jun 10, 1998 at 10:26:51 -0700, Bart Schaefer wrote:
> > } % i=test
> > } % a=()
> > } % a=($a $i)
> > } % echo $a
> > } $i
> >
> > I don't understand it either, as it doesn't happen to me.
>
> After some tests... it happens only when RC_EXPAND_PARAM is set.
> But is it normal?
You want this patch, from zsh-workers article 3548 last November:
Index: subst.c
===================================================================
--- subst.c 1997/11/19 16:40:31 1.6
+++ subst.c 1997/11/19 16:44:41 1.7
@@ -1440,7 +1440,7 @@
}
if (plan9) {
uremnode(l, n);
- return NULL;
+ return n;
}
} else {
x = aval[0];
prev parent reply other threads:[~1998-06-11 2:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-10 13:26 Vincent Lefevre
[not found] ` <980610102651.ZM12101@candle.brasslantern.com>
1998-06-10 21:36 ` Vincent Lefevre
1998-06-11 2:30 ` Bart Schaefer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=980610193012.ZM13897@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=Vincent.Lefevre@ens-lyon.fr \
--cc=zsh-users@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).