diffutils.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-system-diffutils" role="wrap">
  8. <?dbhtml filename="diffutils.html"?>
  9. <sect1info condition="script">
  10. <productname>diffutils</productname>
  11. <productnumber>&diffutils-version;</productnumber>
  12. <address>&diffutils-url;</address>
  13. </sect1info>
  14. <title>Diffutils-&diffutils-version;</title>
  15. <indexterm zone="ch-system-diffutils">
  16. <primary sortas="a-Diffutils">Diffutils</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Diffutils package contains programs that show the differences
  21. between files or directories.</para>
  22. <segmentedlist>
  23. <segtitle>&buildtime;</segtitle>
  24. <segtitle>&diskspace;</segtitle>
  25. <seglistitem>
  26. <seg>&diffutils-ch6-sbu;</seg>
  27. <seg>&diffutils-ch6-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of Diffutils</title>
  33. <para>Fix an incompatibility between this package and Glibc-&glibc-version;</para>
  34. <screen><userinput remap="pre">sed -i -e '/gets is a/d' lib/stdio.in.h</userinput></screen>
  35. <para>Prepare Diffutils for compilation:</para>
  36. <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
  37. <para>Compile the package:</para>
  38. <screen><userinput remap="make">make</userinput></screen>
  39. <para>To test the results, issue:</para>
  40. <screen><userinput remap="test">make check</userinput></screen>
  41. <para>Install the package:</para>
  42. <screen><userinput remap="install">make install</userinput></screen>
  43. </sect2>
  44. <sect2 id="contents-diffutils" role="content">
  45. <title>Contents of Diffutils</title>
  46. <segmentedlist>
  47. <segtitle>Installed programs</segtitle>
  48. <seglistitem>
  49. <seg>cmp, diff, diff3, and sdiff</seg>
  50. </seglistitem>
  51. </segmentedlist>
  52. <variablelist>
  53. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  54. <?dbfo list-presentation="list"?>
  55. <?dbhtml list-presentation="table"?>
  56. <varlistentry id="cmp">
  57. <term><command>cmp</command></term>
  58. <listitem>
  59. <para>Compares two files and reports whether or in which bytes they
  60. differ</para>
  61. <indexterm zone="ch-system-diffutils cmp">
  62. <primary sortas="b-cmp">cmp</primary>
  63. </indexterm>
  64. </listitem>
  65. </varlistentry>
  66. <varlistentry id="diff">
  67. <term><command>diff</command></term>
  68. <listitem>
  69. <para>Compares two files or directories and reports which lines in
  70. the files differ</para>
  71. <indexterm zone="ch-system-diffutils diff">
  72. <primary sortas="b-diff">diff</primary>
  73. </indexterm>
  74. </listitem>
  75. </varlistentry>
  76. <varlistentry id="diff3">
  77. <term><command>diff3</command></term>
  78. <listitem>
  79. <para>Compares three files line by line</para>
  80. <indexterm zone="ch-system-diffutils diff3">
  81. <primary sortas="b-diff3">diff3</primary>
  82. </indexterm>
  83. </listitem>
  84. </varlistentry>
  85. <varlistentry id="sdiff">
  86. <term><command>sdiff</command></term>
  87. <listitem>
  88. <para>Merges two files and interactively outputs the results</para>
  89. <indexterm zone="ch-system-diffutils sdiff">
  90. <primary sortas="b-sdiff">sdiff</primary>
  91. </indexterm>
  92. </listitem>
  93. </varlistentry>
  94. </variablelist>
  95. </sect2>
  96. </sect1>