Diff is an actively used application created in 1974.

45Years Old 4,365Users 0Jobs

Example code from Linguist:

diff --git a/lib/linguist.rb b/lib/linguist.rb
index d472341..8ad9ffb 100644
--- a/lib/linguist.rb
+++ b/lib/linguist.rb

Example code from Wikipedia:

--- /path/to/original	timestamp
+++ /path/to/new	timestamp
@@ -1,3 +1,9 @@
+This is an important
+notice! It should
+therefore be located at
+the beginning of this
 This part of the
 document has stayed the
 same from version to
@@ -5,16 +11,10 @@
 be shown if it doesn't
 change.  Otherwise, that
 would not be helping to
-compress the size of the
-This paragraph contains
-text that is outdated.
-It will be deleted in the
-near future.
+compress anything.

 It is important to spell
-check this dokument. On
+check this document. On
 the other hand, a
 misspelled word isn't
 the end of the world.
@@ -22,3 +22,7 @@
 this paragraph needs to
 be changed. Things can
 be added after it.
+This paragraph contains
+important new additions
+to this document.

Last updated February 11th, 2019