file compare - ignore part of line

Here you can propose new features, make suggestions etc.

Moderators: sheep, Hacker, Stefan2, white

Post Reply
mri
Junior Member
Junior Member
Posts: 8
Joined: 2006-01-20, 07:46 UTC
Location: Deutschland

file compare - ignore part of line

Post by *mri »

Hi,
to compare logfiles it would be nice file compare could ignore the start of each line (timestamp).
- first n char (simple and fast)
- up to first/second occurrence of a string like #9, #32 or ' - '
- regular expression (slow, could remove or select any part of line)
Thanks

User avatar
HolgerK
Power Member
Power Member
Posts: 5206
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: file compare - ignore part of line

Post by *HolgerK »

mri wrote:
2019-12-21, 15:08 UTC
- first n char (simple and fast)
https://ghisler.ch/board/viewtopic.php?f=14&t=13208&hilit=CompareSkipFirst
ghisler(Author) wrote:
2006-12-07, 20:03 UTC
This is just an _experimental_ feature, and not perfect at all yet. For example, lines which compare as identical after the ignored part are still shown as different (in red color) if they differ in the ignored part - that part is only ignored in the line by line ignore phase. The feature would need a lot of additional work, for which I just don't have the time right now.
Regards
Holger
Make our planet great again

Post Reply