On Sun, May 16, 2010 at 5:02 PM, mannu jha <mannu_0...@rediffmail.com> wrote: > 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
This had better not be yet another assignment you're asking us to help you with ? *sigh* Break your problem down! Since you haven't really asked a specific question I can't give you a specific answer. --James -- http://mail.python.org/mailman/listinfo/python-list