From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22405 invoked from network); 16 Aug 2005 15:41:00 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 16 Aug 2005 15:41:00 -0000 Received: (qmail 30857 invoked from network); 16 Aug 2005 15:40:52 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 16 Aug 2005 15:40:52 -0000 Received: (qmail 3622 invoked by alias); 16 Aug 2005 15:40:44 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9321 Received: (qmail 3609 invoked from network); 16 Aug 2005 15:40:43 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 16 Aug 2005 15:40:43 -0000 Received: (qmail 29880 invoked from network); 16 Aug 2005 15:40:43 -0000 Received: from jlefevre.net1.nerim.net (HELO ay.vinc17.org) (80.65.226.245) by a.mx.sunsite.dk with SMTP; 16 Aug 2005 15:40:35 -0000 Received: from lefevre by ay.vinc17.org with local (Exim 4.52) id 1E53YH-00006J-EY; Tue, 16 Aug 2005 17:40:33 +0200 Date: Tue, 16 Aug 2005 17:40:33 +0200 From: Vincent Lefevre To: Zsh Users Subject: Re: Replacing sed for zsh portability Message-ID: <20050816154033.GY10992@ay.vinc17.org> Mail-Followup-To: Zsh Users References: <20050815103557.GA1411@DervishD> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20050815103557.GA1411@DervishD> X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.10-vl-20050813i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.4 On 2005-08-15 12:35:57 +0200, DervishD wrote: > Since I cannot use sed for the entire work unless I complicate > the script (doing multiple substitutions and the like), I want to get > rid of the current script and doing all the job in ZSH. It doesn't > matter if it is very slow, speed here is not an issue. For things related to regexp, it would probably be much easier with Perl. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / SPACES project at LORIA