* Re: BUG in rcexpandparam? (was: ZSH 3.0.5 breaks script)
@ 1997-09-30 16:29 Peter Stephenson
0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 1997-09-30 16:29 UTC (permalink / raw)
To: Zsh hackers list
Andrej Borsenkow wrote:
> Either something is wrong with bar=() or with rcexpandparam?
aha, that's the key to the bug I posted a few weeks ago.
% fn() { =ls $* }
% fn
zsh: command not found: =ls
% unsetopt rcexpandparam
% fn
<works OK>
The $* here is required to make it fail.
--
Peter Stephenson <pws@ifh.de> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77413
Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, Platanenallee 6, 15738 Zeuthen, Germany.
^ permalink raw reply [flat|nested] 2+ messages in thread
* BUG in rcexpandparam? (was: ZSH 3.0.5 breaks script)
1997-09-30 12:28 ZSH 3.0.5 breaks script Andrej Borsenkow
@ 1997-09-30 15:13 ` Andrej Borsenkow
0 siblings, 0 replies; 2+ messages in thread
From: Andrej Borsenkow @ 1997-09-30 15:13 UTC (permalink / raw)
To: Zsh workers mailing list
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@sni.de
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-09-30 16:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-30 16:29 BUG in rcexpandparam? (was: ZSH 3.0.5 breaks script) Peter Stephenson
-- strict thread matches above, loose matches on Subject: below --
1997-09-30 12:28 ZSH 3.0.5 breaks script Andrej Borsenkow
1997-09-30 15:13 ` BUG in rcexpandparam? (was: ZSH 3.0.5 breaks script) Andrej Borsenkow
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).