Update to systemd-243. BLFS portion coming whenever utility power is restored here.
[linux_from_scratch.git] / BOOK / chapter06 / diffutils.xml
blob0d8bd5c772787ef2412bc031856d0e56571ba797
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 ]>
8 <sect1 id="ch-system-diffutils" role="wrap">
9   <?dbhtml filename="diffutils.html"?>
11   <sect1info condition="script">
12     <productname>diffutils</productname>
13     <productnumber>&diffutils-version;</productnumber>
14     <address>&diffutils-url;</address>
15   </sect1info>
17   <title>Diffutils-&diffutils-version;</title>
19   <indexterm zone="ch-system-diffutils">
20     <primary sortas="a-Diffutils">Diffutils</primary>
21   </indexterm>
23   <sect2 role="package">
24     <title/>
26     <para>The Diffutils package contains programs that show the differences
27     between files or directories.</para>
29     <segmentedlist>
30       <segtitle>&buildtime;</segtitle>
31       <segtitle>&diskspace;</segtitle>
33       <seglistitem>
34         <seg>&diffutils-ch6-sbu;</seg>
35         <seg>&diffutils-ch6-du;</seg>
36       </seglistitem>
37     </segmentedlist>
39   </sect2>
41   <sect2 role="installation">
42     <title>Installation of Diffutils</title>
44     <para>Prepare Diffutils for compilation:</para>
46 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
48     <para>Compile the package:</para>
50 <screen><userinput remap="make">make</userinput></screen>
52     <para>To test the results, issue:</para>
54 <screen><userinput remap="test">make check</userinput></screen>
56     <para>Install the package:</para>
58 <screen><userinput remap="install">make install</userinput></screen>
60   </sect2>
63   <sect2 id="contents-diffutils" role="content">
64     <title>Contents of Diffutils</title>
66     <segmentedlist>
67       <segtitle>Installed programs</segtitle>
69       <seglistitem>
70         <seg>cmp, diff, diff3, and sdiff</seg>
71       </seglistitem>
72     </segmentedlist>
74     <variablelist>
75       <bridgehead renderas="sect3">Short Descriptions</bridgehead>
76       <?dbfo list-presentation="list"?>
77       <?dbhtml list-presentation="table"?>
79       <varlistentry id="cmp">
80         <term><command>cmp</command></term>
81         <listitem>
82           <para>Compares two files and reports whether or in which bytes they
83           differ</para>
84           <indexterm zone="ch-system-diffutils cmp">
85             <primary sortas="b-cmp">cmp</primary>
86           </indexterm>
87         </listitem>
88       </varlistentry>
90       <varlistentry id="diff">
91         <term><command>diff</command></term>
92         <listitem>
93           <para>Compares two files or directories and reports which lines in
94           the files differ</para>
95           <indexterm zone="ch-system-diffutils diff">
96             <primary sortas="b-diff">diff</primary>
97           </indexterm>
98         </listitem>
99       </varlistentry>
101       <varlistentry id="diff3">
102         <term><command>diff3</command></term>
103         <listitem>
104             <para>Compares three files line by line</para>
105             <indexterm zone="ch-system-diffutils diff3">
106               <primary sortas="b-diff3">diff3</primary>
107             </indexterm>
108         </listitem>
109       </varlistentry>
111       <varlistentry id="sdiff">
112         <term><command>sdiff</command></term>
113         <listitem>
114           <para>Merges two files and interactively outputs the results</para>
115           <indexterm zone="ch-system-diffutils sdiff">
116             <primary sortas="b-sdiff">sdiff</primary>
117           </indexterm>
118         </listitem>
119       </varlistentry>
121     </variablelist>
123   </sect2>
125 </sect1>