From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18722 invoked from network); 20 Aug 2004 14:53:25 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 20 Aug 2004 14:53:25 -0000 Received: (qmail 23850 invoked from network); 20 Aug 2004 14:53:19 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 20 Aug 2004 14:53:19 -0000 Received: (qmail 21320 invoked by alias); 20 Aug 2004 14:52:35 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7895 Received: (qmail 21310 invoked from network); 20 Aug 2004 14:52:34 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 20 Aug 2004 14:52:34 -0000 Received: (qmail 22199 invoked from network); 20 Aug 2004 14:50:36 -0000 Received: from vinc17.net1.nerim.net (HELO ay.vinc17.org) (62.4.18.82) by a.mx.sunsite.dk with SMTP; 20 Aug 2004 14:50:35 -0000 Received: from lefevre by ay.vinc17.org with local (Exim 4.34) id 1ByAiu-00073O-Tq; Fri, 20 Aug 2004 16:50:33 +0200 Date: Fri, 20 Aug 2004 16:50:32 +0200 From: Vincent Lefevre To: zsh-users@sunsite.dk Subject: Re: Tip of the day: previous command output Message-ID: <20040820145032.GH13530@ay.vinc17.org> Mail-Followup-To: zsh-users@sunsite.dk References: <20040819085812.GL22962@localhost> <20040819164250.GA21575@spiegl.de> <20040820121202.GA31466@spiegl.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040820121202.GA31466@spiegl.de> X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.6i Sender: Vincent Lefevre X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-0.0 required=6.0 tests=BAYES_40 autolearn=no version=2.63 X-Spam-Hits: -0.0 On 2004-08-20 14:12:02 +0200, Andy Spiegl wrote: > Now that I've got the list of lines (typically filenames) in $kept > how do I get them into the command line _quoted_. And would it be possible to get a menu, in order to select one or several filenames manually? And how about typing a pattern somewhere in the command line, then applying a function that replaces this pattern by the matching lines (quoted) of $kept? -- Vincent Lefèvre - Web: 100% validated (X)HTML - Acorn / RISC OS / ARM, free software, YP17, Championnat International des Jeux Mathématiques et Logiques, etc. Work: CR INRIA - computer arithmetic / SPACES project at LORIA