joining files

mannu jha mannu_0523 at rediffmail.com
Sun May 16 03:02:03 EDT 2010


Hi,

I have few files like this:
file1:
22 110.1  
33 331.5 22.7 
5 271.9 17.2 33.4
4 55.1 

file1 has total 4 column but some of them are missing in few row.

file2:
5 H
22 0

file3:
4 T
5 B
22 C
121 S

in all these files first column is the main source of matching their entries. So What I want in the output is only those entries which is coming in all three files.
output required:
5 271.9 17.2 33.4 5 H  5 T
22 110.1         22 0 22 C




 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100516/a81c8cfd/attachment.html>


More information about the Python-list mailing list