* strange behavior with 3.0.5
@ 1998-11-12 19:25 Stefan Monnier
1998-11-12 21:54 ` Stefan Monnier
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 1998-11-12 19:25 UTC (permalink / raw)
To: zsh-users
How do you explain the following behavior ?
~-0% foo=(); echo $#foo $foo ; bar=hello; foo=($foo $bar); echo $#foo $foo; foo=($foo $bar); echo $#foo $foo
0
1 $bar
2 $bar hello
~-0%
-- Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: strange behavior with 3.0.5
1998-11-12 19:25 strange behavior with 3.0.5 Stefan Monnier
@ 1998-11-12 21:54 ` Stefan Monnier
1998-11-12 22:27 ` Bart Schaefer
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 1998-11-12 21:54 UTC (permalink / raw)
To: zsh-users
>>>>> "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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: strange behavior with 3.0.5
1998-11-12 21:54 ` Stefan Monnier
@ 1998-11-12 22:27 ` Bart Schaefer
0 siblings, 0 replies; 3+ messages in thread
From: Bart Schaefer @ 1998-11-12 22:27 UTC (permalink / raw)
To: Stefan Monnier, zsh-users
On Nov 12, 4:54pm, Stefan Monnier wrote:
> Subject: 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:
See http://www.zsh.org/mla/workers//1998/msg00513.html
http://www.zsh.org/mla/workers-1997/msg00857.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-11-12 22:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-12 19:25 strange behavior with 3.0.5 Stefan Monnier
1998-11-12 21:54 ` Stefan Monnier
1998-11-12 22:27 ` Bart Schaefer
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).