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