Install docdiff by entering the following commands in the terminal:
sudo apt update sudo apt install docdiff
Description:
Compares two files word by word / char by char
DocDiff compares two files and shows the difference. It can compare files word by word, char by char, or line by line. . It has several output formats such as HTML/XHTML, tty, Manued, or user-defined markup. It supports several encodings and end-of-line characters, including ASCII, UTF-8, EUC-JP, Shift_JIS, CR, LF, and CRLF.
Homepage: http://sourceforge.net/projects/docdiff
Version: 0.5.0+git20160313-1
Section: universe/text