Hi All,
How to interpret hunk in patch?
a.txt
-----
this is first line
this is second line
this is third line
and this is last line
this is second line
this is third line
and this is last line
b.txt
------
this is first line
this is second line
this line is inserted
this is third line
and this is last line
this is second line
this line is inserted
this is third line
and this is last line
I did "diff -up a.txt b.txt > patch"
I get -
patch
-------
--- a 2008-01-11 17:08:58.000000000 +0530
+++ b 2008-01-11 17:09:15.000000000 +0530
@@ -1,5 +1,6 @@
this is first line
this is second line
+this line is inserted
this is third line
and this is last line
+++ b 2008-01-11 17:09:15.000000000 +0530
@@ -1,5 +1,6 @@
this is first line
this is second line
+this line is inserted
this is third line
and this is last line
---------------------------------------------
In the hunk of this patch - what is the meaning of these numbers?
Thanks