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


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

I was able to print the unmatched contents to a file. could you please help me edit the code to do just compare the content of the line "NAME" and print out the header of the file A. Don't compare the headers. I tried to figure out but so far I have no luck. Thanks so much in advance

  • Comment on Re^4: Merge the difference between two files

Replies are listed 'Best First'.
Re^5: Merge the difference between two files
by NetWallah (Canon) on Jun 23, 2017 at 19:21 UTC
    Your second and third sentences contradict each other:
    * edit the code to do just compare the content of the line "NAME" * Don't compare the headers
    So I'm having trouble understanding what you want.

    Sample data, and expected results would help.

                    Once it hits the fan, the only rational choice is to sweep it up, package it, and sell it as fertilizer.