patch generation in a source code management tool if you used one to
download the package.
-
-<p>Here is the code for creating and working with your patch.
+<p>Here are the commands for creating and working with your patch.
<p>Display the difference in code using diff command:
<pre><b>
- diff -up program.c program-update.c
+ diff -up program.c.old program.c
</b></pre>
<p>Creating a patch using diff command:
<pre><b>
- diff -up program.c program-update.c > somepatch.patch
+ diff -up program.c.old program.c > somepatch.patch
</b></pre>
<p>Producing difference statistics using the diffstat command: