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

BUG in rcexpandparam? (was: ZSH 3.0.5 breaks script)



Sorry for previous long posting, but I suddenly got a couple of minutes
...

So, here is the file "foo":

setopt rcexpandparam
bar=()
bar=(${bar} ${foo})
echo $bar

zsh -f foo -> 
${foo}  !!!!

without rcexpandparam all works quite fine. Also, "bar" _must_ be set to
null array before; if I set it to anything else (including ''), ${foo}
goes away.

Either something is wrong with bar=() or with rcexpandparam?

-------------------------------------------------------------------------
Andrej Borsenkow 		Fax:   +7 (095) 252 01 05
SNI ITS Moscow			Tel:   +7 (095) 252 13 88

NERV:  borsenkow.msk		E-Mail: borsenkow.msk@xxxxxx
-------------------------------------------------------------------------




Messages sorted by: Reverse Date, Date, Thread, Author