10-08-2011
I think it just merged both savedrecs files together into the file yousefi..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
as you can see there is a delimiter after c8 "::". Awk sees the rest as fields because it doesn't recognize spaces and tabs as delimiters. So i am basically looking to isolate 20030003ba13f6cc. Can anyone help?
c8::20030003ba13f6cc disk connected configured unknown (2 Replies)
Discussion started by: rcon1
2 Replies
2. Shell Programming and Scripting
Hi Guys,
I need help in modifying a large text file containing more than 1-2 lakh rows of data using unix commands. I am quite new to the unix language
the text file contains data in a pipe delimited format
sdfsdfs
sdfsdfsd
START_ROW
sdfsd|sdfsdfsd|sdfsdfasdf|sdfsadf|sdfasdf... (9 Replies)
Discussion started by: manish2009
9 Replies
3. Shell Programming and Scripting
Fruit : Price : Quantity
apple : 20 : 40
chiku : 40 :30
Hey guys, i have written a code using sed to delete a specific char which is being typed in. But the problem i am having is , how can i expand my coding to actually allow it do delete the whole row. For example,... (21 Replies)
Discussion started by: gregarion
21 Replies
4. Shell Programming and Scripting
hi there,
i have a file named 'x20080613_x20100106.pwr1.gc', i want to isolate the part 'x20080613_x20100106' but by using the following line i isolate the part '.pwr1.gc':
`awk '$0=substr($0, length($0)-7)' $temp`
how can i reverse that?
thank you! (3 Replies)
Discussion started by: friend
3 Replies
5. Shell Programming and Scripting
Dear UNIX community,
I would like to to count characters from a specific row and have them displayed line-by-line.
I have a file called testAwk2.csv which contain the following data:
rabbit penguin goat
giraffe emu ostrich I would like to count in the middle row individually... (4 Replies)
Discussion started by: vnayak
4 Replies
6. UNIX for Dummies Questions & Answers
Hi
I have a file that looks like the one below.
For the same 'TCONS' in the second column, I would like to extract the row that has the highest (or last) number in the fourth column.
Any kind of help will be appreciated.
input
transcript_id "TCONS_00000051"; exon_number "1";
transcript_id... (4 Replies)
Discussion started by: jdhahbi
4 Replies
7. Shell Programming and Scripting
Hi all.....
I have a file which contains large data...like
I want to print the rows starting from "pixel" till the file read the letter "TER" into a new output file....
can anyone plz help in doing this ?? (5 Replies)
Discussion started by: CAch
5 Replies
8. Shell Programming and Scripting
Hi, i have a file containing nrows and 3cols. i want to cut it in specific length and save output to individual files.
1 2 3
4 5 6
5 8 9
10 11 12
13 14 15
16 17 18
i need to cut the file say every 2 rows and save it in individual file.
01.dat contains
1 2 3
4 5 6
02.dat
7 8 9... (10 Replies)
Discussion started by: ida1215
10 Replies
9. Shell Programming and Scripting
I am looking at using grep to locate the line in the text file and them use awk to select a word or words out of it.
I know awk needs -v to allow a variable to be used, but also needs -F to allow the break up of the sentence and allow the location of separate variables.
$line = grep "1:" File |... (8 Replies)
Discussion started by: Ironguru
8 Replies
10. Shell Programming and Scripting
Hi I want to extract rows in a large files that have a specific name.
The name can be "starved and rich", "rich", "starved" or " ".
Heres an example:
bob starved and rich
jack rich
joey starved
mike
so it can have either 3 names or no name. I want to put the names into a... (4 Replies)
Discussion started by: phil_heath
4 Replies
LEARN ABOUT DEBIAN
tau_merge
TAU_MERGE(1) Tools TAU_MERGE(1)
NAME
tau_merge - combine multiple node and or thread TAU tracefiles into a merged tracefile
SYNOPSIS
tau_merge [-a] [-r] [-n] [-e eventfile_list] [-m output_eventfile] {tracefile_list} [{output_tracefile} { - }]
DESCRIPTION
tau_merge is generated when TAU is configured with the -TRACE option.
This tool assembles a set of tau trace and event files from multiple multiple nodes or threads across a program's execution into a single
unified trace file. Many TAU trace file tools operate on merged trace files.
Minimally, tau_merge must be invoked with a list of unmerged trace files followed by the desired name of the merged trace file or the -
flag to send the output to the standard out. Typically the list can be designated by giving the shared name of the trace files to be merged
followed by desired range of thread or node designators in brackets or the wild card character '*' to encompass variable thread and node
designations in the filename (trace.A.B.C.trc where A, B and C are the node, context and thread numbers respectively). For example
tautrace.*.trc would represent all tracefiles in a given directory while tautrace.[0-5].0.0.trc would represent the tracefiles of nodes 0
through 5 with context 0 and thread 0.
tau_merge will generate the specified merged trace file and an event definition file, tau.edf by default.
The event definition file can be given an alternative name by using the '-m' flag followed by the desired filename. A list of event
definition files to be merged can be designated explicitly by using the '-e' flag followed by a list of unmerged .edf files, specified in
the same manner as the trace file list.
If computational resources are insufficient to merge all trace and event files simultaneously the process may be undertaken hierarchically.
Corresponding subsets of the tracefiles and eventfiles may be merged in sequence to produce a smaller set of files that can then be to
merged into a singular fully merged tracefile and eventfile. E.g. for a 100 node trace, trace sets 1-10, 11-20, ..., 91-100 could be merged
into traces 1a, 2a, ..., 10a. Then 1a-10a could be merged to create a fully merged tracefile.
OPTIONS
-e eventfile_list explicitly define the eventfiles to be merged
-m output_eventfile explicitly name the merged eventfile to be created
- send the merged tracefile to the standard out
-a adjust earliest timestamp time to zero
-r do not reassemble long events
-n do not block waiting for new events. By default tau_merge will block and wait for new events to be appended if a tracefile is
incomplete. This command allows offline merging of (potentially) incomplete tracefiles.
EXAMPLES
To merge all TAU tracefiles into app.trc and produce a merged tau.edf eventfile:
tau_merge *.trc app.trc
To merge all eventfiles 0-255 into ev0_255merged.edf and TAU tracefiles for nodes 0-255 into the standard out:
tau_merge -e events.[0-255].edf -m ev0_255merged.edf
tautrace.[0-255].*.trc -
To merge eventfiles 0, 5 and seven info ev057.edf and tau tracefiles for nodes 0, 5 and 7 with context and thread 0 into app.trc:
tau_merge -e events.0.edf events.5.edf events.7.edf -m ev057.edf
tautrace.0.0.0.trc tautrace.5.0.0.trc tautrace.7.0.0.trc app.trc
SEE ALSO
tau_convert
tau2profile
tau2vtf
tau2elg
tau2slog2
12/22/2005 TAU_MERGE(1)