Join two fixed length Files in Unix

Hi,

Can we join two fixed length files in Unix using JOIN command? Is there any other command to accomplish the same?

Thanks,
G.Harikrishnan

Perhaps try paste.

Maybe:

cat file1 file2 >> file3

Is this joining ? I think he wants to merge subsequent lines of files. So, he has to use "paste" to achieve that.

Hi,

Basically i was looking for merge of two files based on matching key fields from two files (Sort of Inner Join in Oracle)

Thanks & Regards,
G.Harikrishnan

Can you post the sample files?

Sounds like some 'grep', 'sort' and 'cat' action to me.... :stuck_out_tongue: