zsh-workers
 help / color / mirror / code / Atom feed
From: Andrej Borsenkow <borsenkow.msk@sni.de>
To: Zsh workers mailing list <zsh-workers@math.gatech.edu>
Subject: BUG in rcexpandparam? (was: ZSH 3.0.5 breaks script)
Date: Tue, 30 Sep 1997 19:13:14 +0400 (MSD)	[thread overview]
Message-ID: <Pine.SV4.3.95.970930190902.25708A-100000@itsrm1> (raw)
In-Reply-To: <Pine.SV4.3.95.970930162145.22229B-100000@itsrm1>

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



  reply	other threads:[~1997-09-30 15:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-30 12:28 ZSH 3.0.5 breaks script Andrej Borsenkow
1997-09-30 15:13 ` Andrej Borsenkow [this message]
1997-09-30 16:29 BUG in rcexpandparam? (was: ZSH 3.0.5 breaks script) Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SV4.3.95.970930190902.25708A-100000@itsrm1 \
    --to=borsenkow.msk@sni.de \
    --cc=zsh-workers@math.gatech.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).