From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23353 invoked from network); 9 Nov 2001 01:22:50 -0000 Received: from ns2.primenet.com.au (HELO primenet.com.au) (?BR2iGn6J1U5w3O24v5xNPZ6yoIwS8f9n?@203.24.36.3) by ns1.primenet.com.au with SMTP; 9 Nov 2001 01:22:50 -0000 Received: (qmail 6026 invoked from network); 9 Nov 2001 01:22:48 -0000 Received: from sunsite.dk (130.225.247.90) by proxy.melb.primenet.com.au with SMTP; 9 Nov 2001 01:22:48 -0000 Received: (qmail 2391 invoked by alias); 9 Nov 2001 01:22:42 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16227 Received: (qmail 2380 invoked from network); 9 Nov 2001 01:22:41 -0000 From: Bart Schaefer Message-Id: <1011109012235.ZM14884@candle.brasslantern.com> Date: Fri, 9 Nov 2001 01:22:35 +0000 X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Unexpected "unknown file attribute" error MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii For obscure reasons, one of the machines I use at work has this function in root's .zshrc: function add-dir { which=$1 shift foreach dir ($*) { eval $which=(\${$which} \$dir) } } This used to work in 3.0.x, but now that I've installed 4.0.4, it fails with add-dir:4: unknown file attribute Why isn't the space inside the parens enough to keep them from being treated as a glob qualifier? It used to be. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net