Hi,
Could anyone help with command wher i need to merge two file with variable number of records based on matching records
File1
*******
F1|F2|F3|F4|F5|F6|F7|F8|F9|F10|F11|F12
..
..
..
N records
File2
*****
F1|F2|F3|F4|F5|F13|F14|F15
..
..
..
M Records
I need the output as
File3
********
F1|F2|F3|F4|F5|F6|F7|F8|F9|F10|F11|F12|F13|F14|F15
Conditions
1 N<>M
2 F1,F2,F3,F4,F5 are common in both files
3 In case matching is not found records should be displayed in result as such it exits in File1 or File2
Could anyone help with command wher i need to merge two file with variable number of records based on matching records
File1
*******
F1|F2|F3|F4|F5|F6|F7|F8|F9|F10|F11|F12
..
..
..
N records
File2
*****
F1|F2|F3|F4|F5|F13|F14|F15
..
..
..
M Records
I need the output as
File3
********
F1|F2|F3|F4|F5|F6|F7|F8|F9|F10|F11|F12|F13|F14|F15
Conditions
1 N<>M
2 F1,F2,F3,F4,F5 are common in both files
3 In case matching is not found records should be displayed in result as such it exits in File1 or File2