cat <file> | awk '{ print $1 $2 }'
and so on....
On 9/29/06, Aleksandar Smolovic <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I have a basic NS2 question.
>
> After executing tcl script, I have result files on my HDD. I have output
> trace file, let's say "out.tr". Now I want to draw some graphics. My out.tr
> files have 12 columns and I need only 2. How to do it ?
>
> I saw that in documentation people mention "column.pl" perl script fajl, for
> this purpose, but I cannot find how to use it.
>
> Can somebody help me with filtering 2 columns from trace file?
>
> Thanks.
>
--
Renata Vidal
"Triste é o destino de quem tenta vencer as batalhas e ter sucesso nos
ataques sem cultivar o espírito da iniciativa (A Arte da Guerra – SUN
TSU – pg 102)"