Skip to content

rudojaksa/codiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codiff

codiff manpage
comparison of color diffs

Color diff that prints old and new lines with changed characters/words/blocks highlighted. It streams the GNU diff output line by line, coloring it on the fly.

If either file is a directory, it recursively searches for a corresponding file within that directory. GNU diff on Linux also supports file-vs-directory comparison by matching the filename within the directory, but without recursion.

If the second file is omitted, it recursively searches the current working directory for a corresponding file.

INSTALL:

codiff is a standalone Perl script, just copy or download it and run. Don't forget chmod +x. Tested on Linux and macOS. Requires Algorithm::Diff, usually already installed.

Direct link:
curl -O https://raw.githubusercontent.com/rudojaksa/codiff/main/codiff


R.Jaksa 2026 GPLv3

About

Color word-diff

Topics

Resources

Stars

Watchers

Forks

Contributors