diff
This is a wiki page. Be bold and improve it!
If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.
To colourize the diff output on the command line, you may use:
diff file-1.txt file-2.txt | colordiff
// Or:
colordiff file-1.txt file-2.txt
Also, to see changed lines in one colour, and unchanged lines in another colour, consider something like:
diff --old-group-format=$'\e[0;31m%<\e[0m' --new-group-format=$'\e[0;31m%>\e[0m' --unchanged-group-format=$'\e[0;32m%=\e[0m' file-1.txt file-2.txt
Gentoo package:
app-misc/colordiff