diffutils.xml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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" role="wrap">
  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. <sect2 role="package"><title/>
  11. <para>The Diffutils package contains programs that show the differences
  12. between files or directories.</para>
  13. <segmentedlist>
  14. <segtitle>&buildtime;</segtitle>
  15. <segtitle>&diskspace;</segtitle>
  16. <seglistitem><seg>0.1 SBU</seg><seg>7.5 MB</seg></seglistitem>
  17. </segmentedlist>
  18. <segmentedlist>
  19. <segtitle>Diffutils installation depends on</segtitle>
  20. <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, GCC,
  21. Gettext, Glibc, Grep, Make, Sed</seg></seglistitem>
  22. </segmentedlist>
  23. </sect2>
  24. <sect2 role="installation">
  25. <title>Installation of Diffutils</title>
  26. <para>Prepare Diffutils for compilation:</para>
  27. <screen><userinput>./configure --prefix=/usr</userinput></screen>
  28. <para>Compile the package:</para>
  29. <screen><userinput>make</userinput></screen>
  30. <para>Install it:</para>
  31. <screen><userinput>make install</userinput></screen>
  32. </sect2>
  33. <sect2 id="contents-diffutils"><title>Contents of Diffutils</title>
  34. <para><emphasis>Installed programs</emphasis>: cmp, diff, diff3 and sdiff</para>
  35. </sect2>
  36. <sect2><title>Short descriptions</title>
  37. <indexterm zone="ch-system-diffutils cmp"><primary sortas="b-cmp">cmp</primary></indexterm>
  38. <para id="cmp"><command>cmp</command> compares two files and reports whether or
  39. in which bytes they differ.</para>
  40. <indexterm zone="ch-system-diffutils diff"><primary sortas="b-diff">diff</primary></indexterm>
  41. <para id="diff"><command>diff</command> compares two files or directories and reports
  42. which lines in the files differ.</para>
  43. <indexterm zone="ch-system-diffutils diff3"><primary sortas="b-diff3">diff3</primary></indexterm>
  44. <para id="diff3"><command>diff3</command> compares three files line by line.</para>
  45. <indexterm zone="ch-system-diffutils sdiff"><primary sortas="b-sdiff">sdiff</primary></indexterm>
  46. <para id="sdiff"><command>sdiff</command> merges two files and interactively outputs
  47. the results.</para>
  48. </sect2>
  49. </sect1>