[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 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 | </sect2>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="installation">
|
---|
| 26 | <title>Installation of Diffutils</title>
|
---|
| 27 |
|
---|
[92584937] | 28 | <para os="p1">This patch adds support for Internationalization:</para>
|
---|
| 29 |
|
---|
| 30 | <screen os="p2"><userinput>patch -Np1 -i ../&diffutils-i18n-patch;</userinput></screen>
|
---|
| 31 |
|
---|
[e0e40d3] | 32 | <para os="a">Prepare Diffutils for compilation:</para>
|
---|
[3f8be484] | 33 |
|
---|
[e0e40d3] | 34 | <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
[3f8be484] | 35 |
|
---|
[e0e40d3] | 36 | <para os="c">Compile the package:</para>
|
---|
[3f8be484] | 37 |
|
---|
[e0e40d3] | 38 | <screen os="d"><userinput>make</userinput></screen>
|
---|
[3f8be484] | 39 |
|
---|
[e0e40d3] | 40 | <para os="e">This package does not come with a test suite.</para>
|
---|
[3f8be484] | 41 |
|
---|
[e0e40d3] | 42 | <para os="f">Install the package:</para>
|
---|
[3f8be484] | 43 |
|
---|
[e0e40d3] | 44 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
[3f8be484] | 45 |
|
---|
| 46 | </sect2>
|
---|
| 47 |
|
---|
| 48 | <sect2 id="contents-diffutils" role="content">
|
---|
| 49 | <title>Contents of Diffutils</title>
|
---|
| 50 |
|
---|
| 51 | <segmentedlist>
|
---|
| 52 | <segtitle>Installed programs</segtitle>
|
---|
| 53 |
|
---|
| 54 | <seglistitem>
|
---|
| 55 | <seg>cmp, diff, diff3, and sdiff</seg>
|
---|
| 56 | </seglistitem>
|
---|
| 57 | </segmentedlist>
|
---|
| 58 |
|
---|
| 59 | <variablelist>
|
---|
| 60 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 61 | <?dbfo list-presentation="list"?>
|
---|
| 62 | <?dbhtml list-presentation="table"?>
|
---|
| 63 |
|
---|
| 64 | <varlistentry id="cmp">
|
---|
| 65 | <term><command>cmp</command></term>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>Compares two files and reports whether or in which bytes
|
---|
| 68 | they differ</para>
|
---|
| 69 | <indexterm zone="ch-system-diffutils cmp">
|
---|
| 70 | <primary sortas="b-cmp">cmp</primary>
|
---|
| 71 | </indexterm>
|
---|
| 72 | </listitem>
|
---|
| 73 | </varlistentry>
|
---|
| 74 |
|
---|
| 75 | <varlistentry id="diff">
|
---|
| 76 | <term><command>diff</command></term>
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>Compares two files or directories and reports which lines in
|
---|
| 79 | the files differ</para>
|
---|
| 80 | <indexterm zone="ch-system-diffutils diff">
|
---|
| 81 | <primary sortas="b-diff">diff</primary>
|
---|
| 82 | </indexterm>
|
---|
| 83 | </listitem>
|
---|
| 84 | </varlistentry>
|
---|
| 85 |
|
---|
| 86 | <varlistentry id="diff3">
|
---|
| 87 | <term><command>diff3</command></term>
|
---|
| 88 | <listitem>
|
---|
| 89 | <para>Compares three files line by line</para>
|
---|
| 90 | <indexterm zone="ch-system-diffutils diff3">
|
---|
| 91 | <primary sortas="b-diff3">diff3</primary>
|
---|
| 92 | </indexterm>
|
---|
| 93 | </listitem>
|
---|
| 94 | </varlistentry>
|
---|
| 95 |
|
---|
| 96 | <varlistentry id="sdiff">
|
---|
| 97 | <term><command>sdiff</command></term>
|
---|
| 98 | <listitem>
|
---|
| 99 | <para>Merges two files and interactively outputs the results</para>
|
---|
| 100 | <indexterm zone="ch-system-diffutils sdiff">
|
---|
| 101 | <primary sortas="b-sdiff">sdiff</primary>
|
---|
| 102 | </indexterm>
|
---|
| 103 | </listitem>
|
---|
| 104 | </varlistentry>
|
---|
| 105 |
|
---|
| 106 | </variablelist>
|
---|
| 107 |
|
---|
| 108 | </sect2>
|
---|
| 109 |
|
---|
| 110 | </sect1>
|
---|