Checking the differences between 2 text files per character/ line.
Differences are displayed as below:
- different characters are highlighted in green
- the line number with different characters are highlighted in red
- new lines/ texts are highlighted in gray
What is a DIFF?
Diff is a command used in a UNIX-like OS, to compare 2 files and output the differences between them. Besides diff command, the whole programm to compare files/ data is sometimes called diff.