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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Merge the difference between two files
by poj (Abbot) on Jun 16, 2017 at 19:36 UTC | |
Re^3: Merge the difference between two files
by NetWallah (Canon) on Jun 17, 2017 at 04:53 UTC | |
by hopper (Novice) on Jun 22, 2017 at 21:12 UTC | |
by NetWallah (Canon) on Jun 23, 2017 at 19:21 UTC | |
Re^3: Merge the difference between two files
by huck (Prior) on Jun 16, 2017 at 18:40 UTC |
In Section
Seekers of Perl Wisdom