patch-desc.sgml 826 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. you have a package that is 1MB in size. The next version of that package
  14. only has changes in two files of the first version. You can ship an
  15. entirely new package of 1MB or provide a patch file of 1KB which will
  16. update the first version to make it identical to the second version. So
  17. if you have downloaded the first version already, a patch file can
  18. save you a second large download.
  19. </para>
  20. </sect2>