diffutils.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-system-diffutils" xreflabel="Diffutils">
  7. <title>Diffutils-&diffutils-version;</title>
  8. <?dbhtml filename="diffutils.html"?>
  9. <indexterm zone="ch-system-diffutils"><primary sortas="a-Diffutils">Diffutils</primary></indexterm>
  10. <para>The Diffutils package contains programs that show the differences
  11. between files or directories.</para>
  12. <screen>&buildtime; 0.1 SBU
  13. &diskspace; 7.5 MB</screen>
  14. <para>Diffutils installation depends on: Bash, Binutils, Coreutils, Diffutils, GCC,
  15. Gettext, Glibc, Grep, Make, Sed.</para>
  16. <sect2>
  17. <title>Installation of Diffutils</title>
  18. <para>Prepare Diffutils for compilation:</para>
  19. <screen><userinput>./configure --prefix=/usr</userinput></screen>
  20. <para>Compile the package:</para>
  21. <screen><userinput>make</userinput></screen>
  22. <para>Install it:</para>
  23. <screen><userinput>make install</userinput></screen>
  24. </sect2>
  25. <sect2 id="contents-diffutils"><title>Contents of Diffutils</title>
  26. <para><emphasis>Installed programs</emphasis>: cmp, diff, diff3 and sdiff</para>
  27. </sect2>
  28. <sect2><title>Short descriptions</title>
  29. <indexterm zone="ch-system-diffutils cmp"><primary sortas="b-cmp">cmp</primary></indexterm>
  30. <para id="cmp"><command>cmp</command> compares two files and reports whether or
  31. in which bytes they differ.</para>
  32. <indexterm zone="ch-system-diffutils diff"><primary sortas="b-diff">diff</primary></indexterm>
  33. <para id="diff"><command>diff</command> compares two files or directories and reports
  34. which lines in the files differ.</para>
  35. <indexterm zone="ch-system-diffutils diff3"><primary sortas="b-diff3">diff3</primary></indexterm>
  36. <para id="diff3"><command>diff3</command> compares three files line by line.</para>
  37. <indexterm zone="ch-system-diffutils sdiff"><primary sortas="b-sdiff">sdiff</primary></indexterm>
  38. <para id="sdiff"><command>sdiff</command> merges two files and interactively outputs
  39. the results.</para>
  40. </sect2>
  41. </sect1>