From: Steve Revilak <steve@srevilak.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Easy for Some
Date: Mon, 4 Jan 2010 21:44:43 -0500 [thread overview]
Message-ID: <20100105024443.GA383@srevilak.net> (raw)
In-Reply-To: <27011067.post@talk.nabble.com>
[-- Attachment #1: Type: text/plain, Size: 1365 bytes --]
>From: marioepsley <marioepsley@aol.com>
>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
This isn't really an emacs answer, but
cut -f3 foo.txt
should do what you want (assuming that your data is in a file called
"foo.txt").
>I am a complete newbie, i downloaded aquamacs emacs yesterday
Since you mentioned aquamacs, I'm going to guess that you're using a
Mac. If so, you'll need to run `cut' from within Terminal.app.
Of, if you want to do it within emacs, open the file with emacs and try
C-x h ESC 1 ESC | cut -f3 RET
Broken down, this is
C-x h ;; selects entire buffer
ESC 1 ESC | ;; ESC | pipes region to a command. ESC 1 is
;; a prefix argument that means "replace the region
;; with the output of the command"
cut -f3 RET ;; This is the command you're running on the region
Steve
[-- Attachment #2: Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2010-01-05 2:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20100104155525.0A1DC83814@mxperim8.sea5.speakeasy.net>
2010-01-04 10:25 ` Easy for Some marioepsley
2010-01-04 16:28 ` Vicente Hernando Ara
2010-01-04 17:45 ` Peter Dyballa
2010-01-05 2:23 ` Kevin Rodgers
2010-01-04 20:40 ` Andreas Politz
2010-01-05 2:44 ` Steve Revilak [this message]
2010-01-05 15:40 ` Memnon Anon
2010-01-05 17:33 ` Memnon Anon
[not found] <mailman.707.1262616303.18930.help-gnu-emacs@gnu.org>
2010-01-05 10:01 ` Anselm Helbig
2010-01-05 21:54 ` Colin S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100105024443.GA383@srevilak.net \
--to=steve@srevilak.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.