From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9588 invoked from network); 25 Jan 2002 03:54:00 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 25 Jan 2002 03:54:00 -0000 Received: (qmail 10819 invoked by alias); 25 Jan 2002 03:53:12 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4626 Received: (qmail 10806 invoked from network); 25 Jan 2002 03:53:09 -0000 Date: Thu, 24 Jan 2002 21:53:04 -0600 From: The Doctor What To: zsh-users@sunsite.dk Subject: ZSH 3.0.8 and modifiers Message-ID: <20020124215304.B32699@gerf.org> Mail-Followup-To: The Doctor What , zsh-users@sunsite.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i I was hoping someone could help me with this... I build up a big array of potential directories that might exist in the array $path. I then weed out all the ones that don't exist by doing: path=( ${$path}(/N) ) This works great under the newer versions of ZSH (4.0 for example) as long as NULL_GLOB and RC_EXPAND_PARAM are set (I suppose I don't need the N with NULL_GLOB, but it's habit. :-) But under 3.0.8 (on my Darwin/OS X iBook) it produces an array with the string (/N) appended to each item. Is there something I'm missing? This is the same with (/) instead of (/N) as well. Ciao! -- "Apparently if you play the Windows NT CD backwards you hear satanic messages." "You think that's bad, if you play it forwards it installs Windows NT!" -- Orlando (on Slashdot) The Doctor What: Need I say more? http://docwhat.gerf.org/ docwhat@gerf.org KF6VNC