aboutsummaryrefslogtreecommitdiffstats
path: root/appendixa/patch-desc.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'appendixa/patch-desc.sgml')
-rw-r--r--appendixa/patch-desc.sgml26
1 files changed, 26 insertions, 0 deletions
diff --git a/appendixa/patch-desc.sgml b/appendixa/patch-desc.sgml
new file mode 100644
index 000000000..410df67d2
--- /dev/null
+++ b/appendixa/patch-desc.sgml
@@ -0,0 +1,26 @@
+<sect2>
+<title>Contents</title>
+
+<para>
+The Patch package contains the patch program.
+</para>
+
+</sect2>
+
+<sect2><title>Description</title>
+
+<para>
+The patch program modifies a file according to a patch file. A patch
+file usually is a list created by the diff program that contains
+instructions on how an original file needs to be modified. Patch is used
+a lot for source code patches since it saves time and space. Imagine
+you have a package that is 1MB in size. The next version of that package
+only has changes in two files of the first version. You can ship an
+entirely new package of 1MB or provide a patch file of 1KB which will
+update the first version to make it identical to the second version. So
+if you have downloaded the first version already, a patch file can
+save you a second large download.
+</para>
+
+</sect2>
+