October 2001
Intermediate to advanced
1040 pages
22h 50m
English
Compares two files and displays the differences on a line-by-line basis. Also displays commands that you would use with the ed editor to make changes.
diff file1 file2 1c1 < hello there --- > Hello there. 2a3 > I'm fine. |
EXPLANATIONShows how each line of file1 and file2 differs. The first file is represented by the < symbol, and the second file by the > symbol. Each line is preceded by an ed command indicating the editing command that would be used to make the files the same. |
Read now
Unlock full access