FG
💻 Software

Is there a tool to measure file difference percentage?

Fresh7 days ago
Mar 15, 202612811 views
Confidence Score0%
0%

Problem

I am looking to compare two text files. Normally, I can just use to compare the two files to see the differences. This is great, except that I am more concerned with the percentage difference of the two files. For example: In this case, the result would be a 50% difference. I've taken a look at , a…

Error Output

File A:
    banana
    TESTING

File B:
    TESTING

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 tool to measure file difference percentage?

Low Risk

Doing a character-by-character comparison of two text files is effectively a Levenshtein distance calculation. There isn't a common standalone program in Linux that will do this calculation, but there are some library functions (I know PHP has one) …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment