From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25918 invoked from network); 10 Jun 1998 13:31:59 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 10 Jun 1998 13:31:59 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id JAA08365; Wed, 10 Jun 1998 09:25:41 -0400 (EDT) Resent-Date: Wed, 10 Jun 1998 09:25:16 -0400 (EDT) Message-ID: <19980610152610.A29619@ens-lyon.fr> Date: Wed, 10 Jun 1998 15:26:10 +0200 From: Vincent Lefevre To: zsh-users@math.gatech.edu Subject: Empty array and parameter expansion Mail-Followup-To: zsh-users@math.gatech.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 X-Mailer-Info: http://www.ens-lyon.fr/~vlefevre/mutt_eng.html Resent-Message-ID: <"FY8p71.0.022.uaeVr"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1589 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu I don't understand the following behavior (with zsh 3.0.5): % i=test % a=() % a=($a $i) % echo $a $i I would have thought that "test" would be printed. Is it a bug or a strange feature? -- Vincent Lefevre - PhD stud. in Computer Science Web: http://www.ens-lyon.fr/~vlefevre/ - 100% validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des Jeux Mathematiques et Logiques, TETRHEX, Faits divers insolites, etc...