Re: [ns] How send AWK result to an output file?

2012-08-03 Thread Giorgos Karanikas
The best way is to create a script that does the job for you. I would do it as follows (considered that the trace files are all in the same directory and you execute the script from that directory as well. Otherwise you need to alter the script a little bit.): #!/bin/bash touch results for t

[ns] How send AWK result to an output file?

2012-08-03 Thread Faramarz Kazemainy
Dear all, Would you please elaborate on the following points? - I have 130 ns2 trace files. How can I use a single command to do them all? - How can I send the results to a single file? I have found this: awk -f awkfile.awk tracefile1.trace tracefile2.trace here: http://www.gnu.org/software/gaw