Skip to content
/ dif Public

Finds the difference between two files using Levenshtein distance.

License

Notifications You must be signed in to change notification settings

Ach113/dif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dif

implementation of diff in Python. Displays difference between two files, as well as the lines where the changes occurred.

Utilizes Levenshtein distance to calculate minimum number of operations (and type of operations) required to transform <file1> to <file2>.

How to run:

python dif.py <file1> <file2>

Output:

sample_output

About

Finds the difference between two files using Levenshtein distance.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages