http://qs321.pair.com?node_id=1192973


in reply to Re: Merge the difference between two files
in thread Merge the difference between two files

Hi NetWallah, I really like the code that you wrote. However It is not printout out the way I want.

Currently, it finds the line "NAME" if match then merge the content. however, I want to separate two files and just merge unmatched

line/content "NAME" that is in file 2 to file#1. If the line "NAME" match ignore the content of the lines. can I print the result to a

file and not on the display only?

For example:(ignore the content, if line "NAME, VAR1, VAR2" match)

File 1: NAME, VAR1, VAR2 apple, mange File 2: NAME, VAR1, VAR2 jack fruit, banana