I have two files that read like below.
a. I need to create a third file that is output in the same format as the two files after comapring the individual fields ,
for example comparison $3 of file1 is 7 and file2 is 1. Since they are not equal I'd like to output a "1" if not a "X" on file3
file1 : 1 1 7 7 1 7 1 1 7 1 1 7 1 1 7 7 1 7 1 7 7 1 7 1 1 7 1 1 1 1 1 1
file2: 1 1 1 1 1 1 7 1 7 7 1 1 7 1 7 7 7 7 1 1 7 1 7 7 1 1 1 1 1 1 1 1
a. I need to create a third file that is output in the same format as the two files after comapring the individual fields ,
for example comparison $3 of file1 is 7 and file2 is 1. Since they are not equal I'd like to output a "1" if not a "X" on file3
file1 : 1 1 7 7 1 7 1 1 7 1 1 7 1 1 7 7 1 7 1 7 7 1 7 1 1 7 1 1 1 1 1 1
file2: 1 1 1 1 1 1 7 1 7 7 1 1 7 1 7 7 7 7 1 1 7 1 7 7 1 1 1 1 1 1 1 1