Appending columns on a file

My issue is the following:

I have several text files, let's say 10 of them. Each one has three columns separated by a tab: Date, Time and Value. What I want to do next is to have only one text file containing the information: Date, Time, Value1, Value2, Value3, ... , Value10, where Value1 corresponds to column Value of the first text file, Value2 corresponds to column Value of the second text file and so on.

Could anybody give some clues or tell me how could I do what I want?

Thank you very much. :confused:

The join command should be able to do this.

Read the man page on join.

awk {'print $3'} <file>|tr '\n' ' ' > res

edit res and add date and time in the beginning

CHEERS