[Tutor] List processing

cgw501@york.ac.uk cgw501 at york.ac.uk
Wed Jun 1 23:24:05 CEST 2005


I have a load of files I need to process. Each line of a file looks 
something like this:

eYAL001C1	Spar	81	3419	4518	4519	2	1	

So basically its a table, separated with tabs. What I need to do is make a 
new file where all the entries in the table are those where the values in 
columns 1 and 5 were present as a pair more than once in the original file.

I really have very little idea how to achiev this. So far I read in the 
file to a list , where each item in the list is a list of the entries on a 

*Any* help appreciated. Thanks,


More information about the Tutor mailing list