Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

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?

-- 
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