Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Empty array and parameter expansion
- X-seq: zsh-users 1589
- From: Vincent Lefevre <Vincent.Lefevre@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Empty array and parameter expansion
- Date: Wed, 10 Jun 1998 15:26:10 +0200
- Mail-followup-to: zsh-users@xxxxxxxxxxxxxxx
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@xxxxxxxxxxx> - 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...
Messages sorted by:
Reverse Date,
Date,
Thread,
Author