Try
cat trace.tr | awk ' { print $2 $6 $8 } ' PS: Good subjects, as in this case, will get you the answers! > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Aleksandar Smolovic > Sent: sexta-feira, 29 de Setembro de 2006 16:11 > To: NS-Users > Subject: [ns] Filtering Columns from output trace file > > > 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.