Colored diff on the Command line
If you wanted your diff output to be colored you have three options
Use a verison control program that outputs colored diff output
git diff --color=always old-file new-file | less -R
note: Mercurial does not allow you to run its hg diff outside of a repository Use a text editor …