How to compare parts of flat files?
<p>I have some simple data stored in series of text files.  Once line per record, but number and type of fields can vary per record.</p>

<p>The files contain <em>almost</em> the same data.</p>

<p>The exists an "ideal" data file to which these must be compared.  Some fields can vary, but some need to match.  I also need to now if any records are missing / added compared to the master.</p>

<p>What would be a good approach to take?</p>

<p>Thank you</p>
