×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Flat File Comparison

Flat File Comparison

Flat File Comparison

(OP)
As part of our CM process we are trying to compare old flat files (which have been extensively validated) against new flat files (to which desired changes have been added).  The comparison will help identify any inadvertent changes.  To date we have been using a UNIX script using 'diff' but the output is unsatisfactory in that many of the differences identified are simply caused by and offset in the layout of the files.  We've tried make the script make the comparison based on key parameters within the file but  haven't found a robust way yet.  

Does anyone know of a such a tool that may help ?  

RE: Flat File Comparison


the manual page for GNU diff, says  ...

 -i  --ignore-case  Consider upper- and lower-case to be the same.
 -w  --ignore-all-space        Ignore all white space.
 -b  --ignore-space-change     Ignore changes in the amount of white space.

check, for more info ....

http://www-md.fsl.noaa.gov/adr/localdev/diff.html

regards,
esv

RE: Flat File Comparison

(OP)
Thanks.  Subsequent to posting the request for help I found a freeware application called ExamDiff which has a nice GUI that allows side by side comparison and identifies changes in colour.  It generally manages to sync up on keywords rather thereby idetify real changes and not simply because the lines are offset.  It will also output the unix diff file.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources