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

Re: strange behavior with 3.0.5



>>>>> "Stefan" == Stefan Monnier <monnier+lists/zsh/users/news/@tequila.cs.yale.edu> writes:
> How do you explain the following behavior ?

Well, it seems it's related to my use of rcexpandparam:

    % setopt rcexpandparam; foo=(); bar=hello; foo=($foo $bar); echo $#foo $foo 
    1 $bar
    % setopt norcexpandparam; foo=(); bar=hello; foo=($foo $bar); echo $#foo $foo 
    1 hello
    % 

It also explains my other problem with `echo \( "$@"'.
Hmmm...


	Stefan



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