or download this
C:\scripts>perl join.pl --null "--" --left 1,2,3 --right 1,2,3 --delim
+iter " " --missing 1 --missing 2 file1.txt file2.txt > file12.txt
...
2 XYZ 04-05-2013 21 22 23 24 -- -- -- -- -- -- -- --
1 ABC 05-05-2013 30 31 32 33 -- -- -- -- 60 61 62 63
2 XYZ 05-05-2013 41 42 43 44 -- -- -- -- 71 72 73 74