FG
💻 Software

Is there a diff utility that allows you to exclude columns?

Fresh5 days ago
Mar 15, 202610174 views
Confidence Score0%
0%

Problem

For example, I have a text file, each line is a long string. I want to exclude 2 "segments" of this string, say columns 1-7 and 20-22. So the bottom 2 lines below would be a match: I know WinMerge has a "IgnoreColumns" plugin but I have never go this working. In this example I would rename it Ignor…

Error Output

123456789012345678901234567890 
------------------------------
xxxxxxxAAAAAAAAAAAAxxxBBBBBBBB
yyyyyyyAAAAAAAAAAAAyyyBBBBBBBB

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is there a diff utility that allows you to exclude columns?

Low Risk

The following works on Linux and on Cygwin. For some reason on Cygwin, Vim prompts that each file has changed since editing started and asks, "[O]K, (L)oad File:". Just type each time. Granted you don't get to see the omitted columns, but it is a vi…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment