I have 2 files.
each having 3 coloums
1st field date as 20130322
2nd field time as 05:55
3rd field numberic value
File 2 has entries missing for some date time.
FILE1
20130322 05:35 2219
20130322 05:40 1809
20130322 05:45 1617
20130322 05:50 1359
20130322 05:55 2233
20130322 06:00 1648
20130322 06:05 1552
FILE 2
20130322 05:35 170
20130322 05:40 169
20130322 05:45 172
20130322 05:50 171
20130322 06:05 176
I want to join these 2 files and put zeros for missing values
o/p should look like :
FILE1 FILE2
20130322 05:35 2219 170
20130322 05:40 1809 169
20130322 05:45 1617 172
20130322 05:50 1359 171
20130322 05:55 2233 0
20130322 06:00 1648 0
20130322 06:05 1552 176
Thanks in advance ..