patch-desc.xml 814 B

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