Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I will have to compare two files File1 and file2 ignoring the timstamps the date field contains in both the files

You will not be able to do if easily. Either the lines containing the date and time stamps have to be ignored or the time stamps have to be changed to a known constant string.
Also, are the files binary or ascii?

The diff command is what you'll want to use. I think a script that skips the unwanted date is needed. Instead of skipping the data fields they could be set to a constant just during the comparision.
Please be more specific about where the date fields are and what they look like.

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |