[tpm] eliminating columns from tab delimited files

Herman Anker hanker at ifdsgroup.com
Thu Apr 17 13:41:33 PDT 2008


An awky approach would be:
Awk -f "\" { print $1, "\t",$3.....}'
But then again awk is a unix tool. A gnu windows version can be found on inet.




----- Original Message -----
From: "Omid Gulban" [gulban at sickkids.ca]
Sent: 04/17/2008 04:05 PM
To: "tpm" <tpm at to.pm.org>
Subject: [tpm] eliminating columns from tab delimited files

Hello All,

does anyone have a quick way of eliminating certain columns from a tab-delimited file.


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
and then writing to a new file only the array elements that I needed. 



Thanks
Omid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/toronto-pm/attachments/20080417/5ded4744/attachment.html 
-------------- next part --------------
_______________________________________________
toronto-pm mailing list
toronto-pm at pm.org
http://mail.pm.org/mailman/listinfo/toronto-pm


More information about the toronto-pm mailing list