[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-diffutils" role="wrap">
|
---|
| 9 | <?dbhtml filename="diffutils.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Diffutils-&diffutils-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-diffutils">
|
---|
| 14 | <primary sortas="a-Diffutils">Diffutils</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Diffutils package contains programs that show the differences
|
---|
| 21 | between files or directories.</para>
|
---|
| 22 |
|
---|
| 23 | <segmentedlist>
|
---|
| 24 | <segtitle>&dependencies;</segtitle>
|
---|
| 25 |
|
---|
| 26 | <seglistitem>
|
---|
| 27 | <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc,
|
---|
[b76b419] | 28 | Grep, Make, Sed, and Texinfo</seg>
|
---|
[3f8be484] | 29 | </seglistitem>
|
---|
| 30 | </segmentedlist>
|
---|
| 31 |
|
---|
| 32 | </sect2>
|
---|
| 33 |
|
---|
| 34 | <sect2 role="installation">
|
---|
| 35 | <title>Installation of Diffutils</title>
|
---|
| 36 |
|
---|
[e0e40d3] | 37 | <para os="a">Prepare Diffutils for compilation:</para>
|
---|
[3f8be484] | 38 |
|
---|
[e0e40d3] | 39 | <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
[3f8be484] | 40 |
|
---|
[e0e40d3] | 41 | <para os="c">Compile the package:</para>
|
---|
[3f8be484] | 42 |
|
---|
[e0e40d3] | 43 | <screen os="d"><userinput>make</userinput></screen>
|
---|
[3f8be484] | 44 |
|
---|
[e0e40d3] | 45 | <para os="e">This package does not come with a test suite.</para>
|
---|
[3f8be484] | 46 |
|
---|
[e0e40d3] | 47 | <para os="f">Install the package:</para>
|
---|
[3f8be484] | 48 |
|
---|
[e0e40d3] | 49 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
[3f8be484] | 50 |
|
---|
| 51 | </sect2>
|
---|
| 52 |
|
---|
| 53 | <sect2 id="contents-diffutils" role="content">
|
---|
| 54 | <title>Contents of Diffutils</title>
|
---|
| 55 |
|
---|
| 56 | <segmentedlist>
|
---|
| 57 | <segtitle>Installed programs</segtitle>
|
---|
| 58 |
|
---|
| 59 | <seglistitem>
|
---|
| 60 | <seg>cmp, diff, diff3, and sdiff</seg>
|
---|
| 61 | </seglistitem>
|
---|
| 62 | </segmentedlist>
|
---|
| 63 |
|
---|
| 64 | <variablelist>
|
---|
| 65 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 66 | <?dbfo list-presentation="list"?>
|
---|
| 67 | <?dbhtml list-presentation="table"?>
|
---|
| 68 |
|
---|
| 69 | <varlistentry id="cmp">
|
---|
| 70 | <term><command>cmp</command></term>
|
---|
| 71 | <listitem>
|
---|
| 72 | <para>Compares two files and reports whether or in which bytes
|
---|
| 73 | they differ</para>
|
---|
| 74 | <indexterm zone="ch-system-diffutils cmp">
|
---|
| 75 | <primary sortas="b-cmp">cmp</primary>
|
---|
| 76 | </indexterm>
|
---|
| 77 | </listitem>
|
---|
| 78 | </varlistentry>
|
---|
| 79 |
|
---|
| 80 | <varlistentry id="diff">
|
---|
| 81 | <term><command>diff</command></term>
|
---|
| 82 | <listitem>
|
---|
| 83 | <para>Compares two files or directories and reports which lines in
|
---|
| 84 | the files differ</para>
|
---|
| 85 | <indexterm zone="ch-system-diffutils diff">
|
---|
| 86 | <primary sortas="b-diff">diff</primary>
|
---|
| 87 | </indexterm>
|
---|
| 88 | </listitem>
|
---|
| 89 | </varlistentry>
|
---|
| 90 |
|
---|
| 91 | <varlistentry id="diff3">
|
---|
| 92 | <term><command>diff3</command></term>
|
---|
| 93 | <listitem>
|
---|
| 94 | <para>Compares three files line by line</para>
|
---|
| 95 | <indexterm zone="ch-system-diffutils diff3">
|
---|
| 96 | <primary sortas="b-diff3">diff3</primary>
|
---|
| 97 | </indexterm>
|
---|
| 98 | </listitem>
|
---|
| 99 | </varlistentry>
|
---|
| 100 |
|
---|
| 101 | <varlistentry id="sdiff">
|
---|
| 102 | <term><command>sdiff</command></term>
|
---|
| 103 | <listitem>
|
---|
| 104 | <para>Merges two files and interactively outputs the results</para>
|
---|
| 105 | <indexterm zone="ch-system-diffutils sdiff">
|
---|
| 106 | <primary sortas="b-sdiff">sdiff</primary>
|
---|
| 107 | </indexterm>
|
---|
| 108 | </listitem>
|
---|
| 109 | </varlistentry>
|
---|
| 110 |
|
---|
| 111 | </variablelist>
|
---|
| 112 |
|
---|
| 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | </sect1>
|
---|