First, I accidentally posted this in the bc3 forum, so the text below is identical. If a moderator could please remove that post, that would be great, since I can't seem to delete it or edit it.
I have two files that use the same logging format, but the timestamps obviously differ. Right now I'm able to essentially purge the first 31 characters of the line and write the outputs to new files with PowerShell like so:
And then do the same thing for the second file. But I'd like to know how to ignore the first 31 (or any number) of characters in both files during a text compare. I found another forum post here saying to mark View > Ignore Unimportant Differences but this doesn't seem to have any effect as the timestamps are still showing up as differences.
I have two files that use the same logging format, but the timestamps obviously differ. Right now I'm able to essentially purge the first 31 characters of the line and write the outputs to new files with PowerShell like so:
Code:
( Get-Content file1.txt ) -replace '^.{31}' | Set-Content -enc utf8 file1-notimestamp.txt
Comment