From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11589 invoked from network); 4 Jul 2005 15:33:23 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 4 Jul 2005 15:33:23 -0000 Received: (qmail 4281 invoked from network); 4 Jul 2005 15:33:16 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 Jul 2005 15:33:16 -0000 Received: (qmail 15854 invoked by alias); 4 Jul 2005 15:33:09 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9024 Received: (qmail 15844 invoked from network); 4 Jul 2005 15:33:08 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 4 Jul 2005 15:33:08 -0000 Received: (qmail 3345 invoked from network); 4 Jul 2005 15:33:08 -0000 Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by a.mx.sunsite.dk with SMTP; 4 Jul 2005 15:33:04 -0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DpSvv-0001yp-6r for zsh-users@sunsite.dk; Mon, 04 Jul 2005 17:32:31 +0200 Received: from 241.119-84-212.ippool.ndo.com ([212.84.119.241]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Jul 2005 17:32:31 +0200 Received: from david by 241.119-84-212.ippool.ndo.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 04 Jul 2005 17:32:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk From: zzapper Subject: Re: file names in arrays Date: Mon, 04 Jul 2005 16:31:03 +0100 Message-ID: References: <1050702205137.ZM4701@candle.brasslantern.com> <1050704140958.ZM12348@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 241.119-84-212.ippool.ndo.com X-Newsreader: Forte Free Agent 2.0/32.652 Sender: news X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 On Mon, 04 Jul 2005 14:09:58 +0000, wrote: >On Jul 4, 1:06pm, zzapper wrote: >} Subject: Re: file names in arrays >} >} > (cp|mv) vared -e -p "$command $file " target && >} > [[ -n $target ]] && $command $file $target > ;; >} > (?*) $command $file;; >} >} pick3:17: parse error near `$command' (the vared line) > >Cut'n'paste lossage. Sorry. Bart, And I was looking for some complex bug, and failed to spot the obvious -- zzapper vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?" http://www.rayninfo.co.uk/tips/ vim, zsh & success tips