zsh-users
 help / color / mirror / code / Atom feed
From: Vincent Lefevre <Vincent.Lefevre@ens-lyon.fr>
To: zsh-users@math.gatech.edu
Subject: Empty array and parameter expansion
Date: Wed, 10 Jun 1998 15:26:10 +0200	[thread overview]
Message-ID: <19980610152610.A29619@ens-lyon.fr> (raw)

I don't understand the following behavior (with zsh 3.0.5):

% i=test
% a=()
% a=($a $i)
% echo $a
$i

I would have thought that "test" would be printed.
Is it a bug or a strange feature?

-- 
Vincent Lefevre <Vincent.Lefevre@ens-lyon.fr> - PhD stud. in Computer Science
Web: http://www.ens-lyon.fr/~vlefevre/ - 100% validated HTML - Acorn Risc PC,
Yellow Pig 17, Championnat International des Jeux Mathematiques et Logiques,
TETRHEX, Faits divers insolites, etc...


             reply	other threads:[~1998-06-10 13:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-10 13:26 Vincent Lefevre [this message]
     [not found] ` <980610102651.ZM12101@candle.brasslantern.com>
1998-06-10 21:36   ` Vincent Lefevre
1998-06-11  2:30     ` Bart Schaefer

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=19980610152610.A29619@ens-lyon.fr \
    --to=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).