From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28878 invoked from network); 4 Jul 2005 17:34:51 -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 17:34:51 -0000 Received: (qmail 84095 invoked from network); 4 Jul 2005 17:34:42 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 4 Jul 2005 17:34:42 -0000 Received: (qmail 5915 invoked by alias); 4 Jul 2005 17:34:36 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9025 Received: (qmail 5905 invoked from network); 4 Jul 2005 17:34:36 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 4 Jul 2005 17:34:36 -0000 Received: (qmail 83203 invoked from network); 4 Jul 2005 17:34:36 -0000 Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by a.mx.sunsite.dk with SMTP; 4 Jul 2005 17:34:31 -0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DpUpt-0003nU-JB for zsh-users@sunsite.dk; Mon, 04 Jul 2005 19:34:25 +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 19:34:25 +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 19:34:25 +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 18:33:28 +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 16:31:03 +0100, wrote: >On Mon, 04 Jul 2005 14:09:58 +0000, wrote: > >> >>Cut'n'paste lossage. Sorry. >Bart, >And I was looking for some complex bug, and failed to spot the obvious Bart, I may combine your script with that of Phillipe as Select had two disadvantages in this case (it uses numerics, whereas I'd prefer the menonmic v for vi c for cp m for mv etc, also because select automatically repeats on an empty return, whereas I want it to goto next. Nevertheless your script is a mini-tutorial in scripting -- zzapper vim -c ":%s%s*%Cyrnfr)fcbafbe[Oenz(Zbbyranne%|:%s)[[()])-)Ig|norm Vg?" http://www.rayninfo.co.uk/tips/ vim, zsh & success tips