From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1241 invoked from network); 12 Nov 1998 22:00:58 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 12 Nov 1998 22:00:58 -0000 Received: (from list@localhost) by math.gatech.edu (8.9.1/8.9.1) id QAA18662; Thu, 12 Nov 1998 16:55:48 -0500 (EST) Resent-Date: Thu, 12 Nov 1998 16:55:40 -0500 (EST) To: zsh-users@math.gatech.edu Sender: monnier@tequila.cs.yale.edu From: Stefan Monnier Newsgroups: lists.zsh.users Subject: Re: strange behavior with 3.0.5 References: <5lsofo67cz.fsf@tequila.cs.yale.edu> Date: 12 Nov 1998 16:54:12 -0500 Message-ID: <5lr9v860hn.fsf@tequila.cs.yale.edu> X-Newsreader: Gnus v5.5/Emacs 20.3 Path: tequila.cs.yale.edu NNTP-Posting-Host: tequila.cs.yale.edu X-Trace: 12 Nov 1998 16:54:13 -0500, tequila.cs.yale.edu Resent-Message-ID: <"ZhrZ72.0.5Z4.RbrIs"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1938 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu >>>>> "Stefan" == Stefan Monnier 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