hello99hello
Programmer
Hello All,
Could anyone help in writting a bash scripts to compare the contents of two files.
file1 (has this records)
2345
re890
23499
file2 (has this records)
2345
Re890
23500
I would like to compare the contents of the two files one line at time and output file3 which should have the following(That is difference in contents of file1 and file2):
re890 Re890
23499 23500
Thanx in advance for your help.
Could anyone help in writting a bash scripts to compare the contents of two files.
file1 (has this records)
2345
re890
23499
file2 (has this records)
2345
Re890
23500
I would like to compare the contents of the two files one line at time and output file3 which should have the following(That is difference in contents of file1 and file2):
re890 Re890
23499 23500
Thanx in advance for your help.