From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vicente Hernando Ara Newsgroups: gmane.emacs.help Subject: Re: Easy for Some Date: Mon, 4 Jan 2010 17:28:56 +0100 Message-ID: <72c70c081001040828j6c7f8b57n14b9a2dccb79d401@mail.gmail.com> References: <27011067.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1262622627 24524 80.91.229.12 (4 Jan 2010 16:30:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Jan 2010 16:30:27 +0000 (UTC) Cc: Help-gnu-emacs@gnu.org To: marioepsley Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 04 17:30:20 2010 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 1NRpor-0006Ro-8t for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Jan 2010 17:30:13 +0100 Original-Received: from localhost ([127.0.0.1]:44836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRpor-0000Lg-KL for geh-help-gnu-emacs@m.gmane.org; Mon, 04 Jan 2010 11:30:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRpnk-0008Nc-QM for help-gnu-emacs@gnu.org; Mon, 04 Jan 2010 11:29:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRpng-0008K5-2D for Help-gnu-emacs@gnu.org; Mon, 04 Jan 2010 11:29:04 -0500 Original-Received: from [199.232.76.173] (port=49928 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRpnf-0008Jv-S2 for Help-gnu-emacs@gnu.org; Mon, 04 Jan 2010 11:28:59 -0500 Original-Received: from mail-ew0-f224.google.com ([209.85.219.224]:50781) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NRpnf-0003JV-L4 for Help-gnu-emacs@gnu.org; Mon, 04 Jan 2010 11:28:59 -0500 Original-Received: by ewy24 with SMTP id 24so18153352ewy.26 for ; Mon, 04 Jan 2010 08:28:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=IYrgx2hRrqfpMhHAHexosCr5DskTkKmqf0J2WeW2L3A=; b=QSbtRqU6dvAj01sZd3DtEVYDmsH85UBbUo67imMp4Ff0jBbDKL1qzCcrd79WVjxD/b oFefx3DR1/kvIK3DX/YrV5dpsrgKChPm652O7S/h8gY4UgP7emjMEyoo0M4IiDXwz11b XpVbuKm7oL5GMZgmoQe+cmRZk3LYlfWGudpPY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=f6X4JPqC+dy6zgpWg1mxijaXZYJU9iugM687U616d3q4V63ha+DKz3PXOzh30czr4A OG4kqQcKM91Nl4kS+yTiQymuExY7BYDqtY917L458+b0AaiI4tNWhkRQawBY9xyqXDWH VwN6aW5Tn1FXnHpaiz9XqVL+WZ5Ls+0SJ7lJQ= Original-Received: by 10.213.104.77 with SMTP id n13mr22191485ebo.98.1262622536189; Mon, 04 Jan 2010 08:28:56 -0800 (PST) In-Reply-To: <27011067.post@talk.nabble.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:71048 Archived-At: An easy way, without coding any function is using rectangles. * You open the keyframe file. * Put the pointer in the first 0 of 0.xxxx number. * Set the mark with: C-space. * Go to the last number of the last keyframe. E.g: 0.411811 last 1 * Now kill the rectangle: C-x r k * Create the new file where you want to save the data, and open it. * Yank the rectangle: C-x r y * Save the file. It is done. :-) On 04/01/2010, marioepsley wrote: > > I'm not coder but i needed to extract some information from a text file and > some one pointed me in this direction. > > I have a file like this, could have up to a 1000 keyframes.: > > > > Effects Sound Keys #1 Output 1 #22 > Frame > 0 0.17489 > 1 0.261281 > 2 0.361762 > 3 0.400085 > 4 0.411538 > 5 0.434799 > 6 0.41712 > 7 0.422151 > 8 0.43181 > 9 0.411811 > > Just to clarify the spacings: ( 0 0.17489 ) > Just to clarify the spacings: (tab0tab 0.17489 tab) > > and i want to be left with just the raw values like this: > > > 0.17489 > 0.261281 > 0.361762 > 0.400085 > 0.411538 > 0.434799 > 0.41712 > 0.422151 > 0.43181 > 0.411811 > > > I am a complete newbie, i downloaded aquamacs emacs yesterday, tried to use > replace string as a guess...?? no joy. Dont have anyone to ask, any help is > greatly appreciated. > -- > View this message in context: > http://old.nabble.com/Easy-for-Some-tp27011067p27011067.html > Sent from the Emacs - Help mailing list archive at Nabble.com. > > > >