<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3314" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<font size="2" face="courier new"><p><br>An awky approach would be:<br>Awk -f "\" { print $1, "\t",$3.....}'<br>But then again awk is a unix tool. A gnu windows version can be found on inet.<br></p></font><hr><font size="2" face="courier new"><p> ----- Original Message -----<br><b> From: </b>"Omid Gulban" [gulban@sickkids.ca]<br><b> Sent: </b>04/17/2008 04:05 PM<br><b> To: </b>tpm" <tpm@to.pm.org><br><b> Subject: </b>[tpm] eliminating columns from tab delimited files<br></p></font><br>
<DIV><FONT face=Arial size=2>Hello All,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>does anyone have a quick way of eliminating certain
columns from a tab-delimited file.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>the way I approached this problem in the past is by
reading a line from the file and splitting the contents based on tabs into an
array</FONT></DIV>
<DIV><FONT face=Arial size=2>and then writing to a new file only the array
elements that I needed. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</FONT></DIV>
<DIV><FONT face=Arial size=2>Omid</FONT></DIV></BODY></HTML>