On Tue, Sep 29, 2009 at 6:52 AM, Kapil Hari Paranjape <kapil@xxxxxxxxxxx> wrote:
Generally, one should prefer the commanddiff -c shows context.
?$ diff -u file.txt file-modified.txt
The reason is that this maintains the _context_ information of the
differences as a result:
?- the diff is more human readable
?- the diff is longer :-(
?- the diff can work with patch even when some unrelated changes
? have been made to file.txt after the diff was created