← back to backlog: sss

file similarity report per project in emacs

sss-294
statusTo-dotypeTask
description

Something like this perhaps?

Two files, A1 and A2.

$ sdiff -B -b -s A1 A2 | wc would give you how many lines differed. wc gives total, just divide.

The -b and -B are to ignore blanks and blank lines, and -s says to suppress the common lines.


https://superuser.com/questions/347560/is-there-a-tool-to-measure-file-difference-percentage has a neat solution for this,

wdiff -s file1.txt file2.txt

more options see man wdiff.

plan (0)

sprint: none
milestone: none

time logged (0)

no time logged yet

discussion (0)

no comments yet

attachments (0)

no attachments yet

activity (0)

nothing recorded yet

versions (0)

no versions yet