[67300de] | 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 |
|
---|
| 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 |
|
---|
| 28 | <para os="a">Prepare Diffutils for compilation:</para>
|
---|
| 29 |
|
---|
| 30 | <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
| 31 |
|
---|
| 32 | <para os="c">Compile the package:</para>
|
---|
| 33 |
|
---|
| 34 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 35 |
|
---|
| 36 | <para os="e">This package does not come with a test suite.</para>
|
---|
| 37 |
|
---|
| 38 | <para os="f">Install the package:</para>
|
---|
| 39 |
|
---|
| 40 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
| 41 |
|
---|
| 42 | </sect2>
|
---|
| 43 |
|
---|
| 44 | <sect2 id="contents-diffutils" role="content">
|
---|
| 45 | <title>Contents of Diffutils</title>
|
---|
| 46 |
|
---|
| 47 | <segmentedlist>
|
---|
| 48 | <segtitle>Installed programs</segtitle>
|
---|
| 49 |
|
---|
| 50 | <seglistitem>
|
---|
| 51 | <seg>cmp, diff, diff3, and sdiff</seg>
|
---|
| 52 | </seglistitem>
|
---|
| 53 | </segmentedlist>
|
---|
| 54 |
|
---|
| 55 | <variablelist>
|
---|
| 56 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 57 | <?dbfo list-presentation="list"?>
|
---|
| 58 | <?dbhtml list-presentation="table"?>
|
---|
| 59 |
|
---|
| 60 | <varlistentry id="cmp">
|
---|
| 61 | <term><command>cmp</command></term>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>Compares two files and reports whether or in which bytes
|
---|
| 64 | they differ</para>
|
---|
| 65 | <indexterm zone="ch-system-diffutils cmp">
|
---|
| 66 | <primary sortas="b-cmp">cmp</primary>
|
---|
| 67 | </indexterm>
|
---|
| 68 | </listitem>
|
---|
| 69 | </varlistentry>
|
---|
| 70 |
|
---|
| 71 | <varlistentry id="diff">
|
---|
| 72 | <term><command>diff</command></term>
|
---|
| 73 | <listitem>
|
---|
| 74 | <para>Compares two files or directories and reports which lines in
|
---|
| 75 | the files differ</para>
|
---|
| 76 | <indexterm zone="ch-system-diffutils diff">
|
---|
| 77 | <primary sortas="b-diff">diff</primary>
|
---|
| 78 | </indexterm>
|
---|
| 79 | </listitem>
|
---|
| 80 | </varlistentry>
|
---|
| 81 |
|
---|
| 82 | <varlistentry id="diff3">
|
---|
| 83 | <term><command>diff3</command></term>
|
---|
| 84 | <listitem>
|
---|
| 85 | <para>Compares three files line by line</para>
|
---|
| 86 | <indexterm zone="ch-system-diffutils diff3">
|
---|
| 87 | <primary sortas="b-diff3">diff3</primary>
|
---|
| 88 | </indexterm>
|
---|
| 89 | </listitem>
|
---|
| 90 | </varlistentry>
|
---|
| 91 |
|
---|
| 92 | <varlistentry id="sdiff">
|
---|
| 93 | <term><command>sdiff</command></term>
|
---|
| 94 | <listitem>
|
---|
| 95 | <para>Merges two files and interactively outputs the results</para>
|
---|
| 96 | <indexterm zone="ch-system-diffutils sdiff">
|
---|
| 97 | <primary sortas="b-sdiff">sdiff</primary>
|
---|
| 98 | </indexterm>
|
---|
| 99 | </listitem>
|
---|
| 100 | </varlistentry>
|
---|
| 101 |
|
---|
| 102 | </variablelist>
|
---|
| 103 |
|
---|
| 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | </sect1>
|
---|