From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: extract lines with regexp Date: Fri, 1 May 2009 18:38:01 +0200 Message-ID: <06478949-F273-414E-90E3-5DE9F0EF306D@Web.DE> References: <91723ea9-de6a-4963-918d-b2d53e76b832@p6g2000pre.googlegroups.com> <49FAE4C2.8070509@irisa.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1241195996 16646 80.91.229.12 (1 May 2009 16:39:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 May 2009 16:39:56 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Sebastien Le Maguer Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 01 18:39:46 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Lzvly-00081j-Tc for geh-help-gnu-emacs@m.gmane.org; Fri, 01 May 2009 18:39:39 +0200 Original-Received: from localhost ([127.0.0.1]:42427 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lzvly-0000l2-Bx for geh-help-gnu-emacs@m.gmane.org; Fri, 01 May 2009 12:39:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lzvkd-0000KJ-8g for help-gnu-emacs@gnu.org; Fri, 01 May 2009 12:38:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LzvkY-0000G4-Kh for help-gnu-emacs@gnu.org; Fri, 01 May 2009 12:38:14 -0400 Original-Received: from [199.232.76.173] (port=54928 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LzvkY-0000Fy-Fq for help-gnu-emacs@gnu.org; Fri, 01 May 2009 12:38:10 -0400 Original-Received: from fmmailgate01.web.de ([217.72.192.221]:39544) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LzvkY-0004rM-4R for help-gnu-emacs@gnu.org; Fri, 01 May 2009 12:38:10 -0400 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate01.web.de (Postfix) with ESMTP id E572210125E12; Fri, 1 May 2009 18:38:07 +0200 (CEST) Original-Received: from [91.35.229.171] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (WEB.DE 4.110 #277) id 1LzvkV-0000to-00; Fri, 01 May 2009 18:38:07 +0200 In-Reply-To: <49FAE4C2.8070509@irisa.fr> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX19v32TiB7nYdx2NjpCaJUfzV6zGOgD7J7cy20bX rk8r3GXzit/EAN+L1gPMASGWon1tQFO3eA9gJUkhlf64tN0b9M Qa2r9OWQ0VcTu+bfhDrA== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64132 Archived-At: Am 01.05.2009 um 14:02 schrieb Sebastien Le Maguer: > In fact I need just the line before theq (). > > All lines, except thoses which begin with "theq", respect the same > topology : > ../rep1/rep2/nom_ficXXX_refXX_sentX.wav Can't you decimate? I.e., remove all those lines you don't want and then save the remainder in a new file? The original file will not be changed. -- Greetings Pete Upgraded, adj.: Didn't work the first time.