[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Easy for Some

From: Colin S. Miller
Subject: Re: Easy for Some
Date: Tue, 05 Jan 2010 21:54:55 +0000
User-agent: Mozilla-Thunderbird (X11/20090706)

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
   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


Or, skipping emacs all together, use AWK

awk -F \\t '{print $2}' < input.txt | tr -d ' ' > output.txt

This AWK command sets the field delimiter to TAB (aka \\t),
and prints the second field from each line in the file.
The tr command deletes all spaces from its input.

If you use MS-Windows, only use one \

Colin S. Miller

reply via email to

[Prev in Thread] Current Thread [Next in Thread]