in reply to Re: Matching two files
in thread Matching two files

I thought of using the cutting the necessary columns and using diff. But because of first file format. I would need additional processing for the fields. And as there are spaces in the values which I need to handle. Do you think if I store each of the files in a array and then compare will that be good? But how do I handle the spaces and a string of values stored in a column.

Replies are listed 'Best First'.
Re^3: Matching two files
by apl (Monsignor) on Nov 08, 2007 at 21:33 UTC
    Then why don't you show us how you're reading the first file, how you're parsing the fields, how you're storing the information, etc.?

    If you show us what you've tried, we can make suggestions on how to complete your homework assignment.