patch-desc.xml 810 B

12345678910111213141516171819202122
  1. <sect2>
  2. <title>Contents</title>
  3. <para>The Patch package contains the patch program.</para>
  4. </sect2>
  5. <sect2><title>Description</title>
  6. <para>The patch program modifies a file according to a patch file. A patch
  7. file usually is a list created by the diff program that contains
  8. instructions on how an original file needs to be modified. Patch is used
  9. a lot for source code patches since it saves time and space. Imagine
  10. a package that is 1MB in size. The next version of that package
  11. only has changes in two files of the first version. It can be shipped as an
  12. entirely new package of 1MB or just as a patch file of 1KB which will
  13. update the first version to make it identical to the second version. So
  14. if the first version was downloaded already, a patch file avoids
  15. a second large download.</para>
  16. </sect2>