[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>&buildtime;</segtitle>
|
---|
| 27 | <segtitle>&diskspace;</segtitle>
|
---|
| 28 |
|
---|
| 29 | <seglistitem>
|
---|
| 30 | <seg>Not checked yet</seg>
|
---|
| 31 | <seg>Not checked yet</seg>
|
---|
| 32 | </seglistitem>
|
---|
| 33 | </segmentedlist>
|
---|
| 34 |
|
---|
| 35 | <segmentedlist>
|
---|
| 36 | <segtitle>&dependencies;</segtitle>
|
---|
| 37 |
|
---|
| 38 | <seglistitem>
|
---|
| 39 | <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc,
|
---|
| 40 | Grep, Make, and Sed</seg>
|
---|
| 41 | </seglistitem>
|
---|
| 42 | </segmentedlist>
|
---|
| 43 |
|
---|
| 44 | </sect2>
|
---|
| 45 |
|
---|
| 46 | <sect2 role="installation">
|
---|
| 47 | <title>Installation of Diffutils</title>
|
---|
| 48 |
|
---|
| 49 | <para>Prepare Diffutils for compilation:</para>
|
---|
| 50 |
|
---|
| 51 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
| 52 |
|
---|
| 53 | <para>Compile the package:</para>
|
---|
| 54 |
|
---|
| 55 | <screen><userinput>make</userinput></screen>
|
---|
| 56 |
|
---|
| 57 | <para>This package does not come with a test suite.</para>
|
---|
| 58 |
|
---|
| 59 | <para>Install the package:</para>
|
---|
| 60 |
|
---|
| 61 | <screen><userinput>make install</userinput></screen>
|
---|
| 62 |
|
---|
| 63 | </sect2>
|
---|
| 64 |
|
---|
| 65 | <sect2 id="contents-diffutils" role="content">
|
---|
| 66 | <title>Contents of Diffutils</title>
|
---|
| 67 |
|
---|
| 68 | <segmentedlist>
|
---|
| 69 | <segtitle>Installed programs</segtitle>
|
---|
| 70 |
|
---|
| 71 | <seglistitem>
|
---|
| 72 | <seg>cmp, diff, diff3, and sdiff</seg>
|
---|
| 73 | </seglistitem>
|
---|
| 74 | </segmentedlist>
|
---|
| 75 |
|
---|
| 76 | <variablelist>
|
---|
| 77 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 78 | <?dbfo list-presentation="list"?>
|
---|
| 79 | <?dbhtml list-presentation="table"?>
|
---|
| 80 |
|
---|
| 81 | <varlistentry id="cmp">
|
---|
| 82 | <term><command>cmp</command></term>
|
---|
| 83 | <listitem>
|
---|
| 84 | <para>Compares two files and reports whether or in which bytes
|
---|
| 85 | they differ</para>
|
---|
| 86 | <indexterm zone="ch-system-diffutils cmp">
|
---|
| 87 | <primary sortas="b-cmp">cmp</primary>
|
---|
| 88 | </indexterm>
|
---|
| 89 | </listitem>
|
---|
| 90 | </varlistentry>
|
---|
| 91 |
|
---|
| 92 | <varlistentry id="diff">
|
---|
| 93 | <term><command>diff</command></term>
|
---|
| 94 | <listitem>
|
---|
| 95 | <para>Compares two files or directories and reports which lines in
|
---|
| 96 | the files differ</para>
|
---|
| 97 | <indexterm zone="ch-system-diffutils diff">
|
---|
| 98 | <primary sortas="b-diff">diff</primary>
|
---|
| 99 | </indexterm>
|
---|
| 100 | </listitem>
|
---|
| 101 | </varlistentry>
|
---|
| 102 |
|
---|
| 103 | <varlistentry id="diff3">
|
---|
| 104 | <term><command>diff3</command></term>
|
---|
| 105 | <listitem>
|
---|
| 106 | <para>Compares three files line by line</para>
|
---|
| 107 | <indexterm zone="ch-system-diffutils diff3">
|
---|
| 108 | <primary sortas="b-diff3">diff3</primary>
|
---|
| 109 | </indexterm>
|
---|
| 110 | </listitem>
|
---|
| 111 | </varlistentry>
|
---|
| 112 |
|
---|
| 113 | <varlistentry id="sdiff">
|
---|
| 114 | <term><command>sdiff</command></term>
|
---|
| 115 | <listitem>
|
---|
| 116 | <para>Merges two files and interactively outputs the results</para>
|
---|
| 117 | <indexterm zone="ch-system-diffutils sdiff">
|
---|
| 118 | <primary sortas="b-sdiff">sdiff</primary>
|
---|
| 119 | </indexterm>
|
---|
| 120 | </listitem>
|
---|
| 121 | </varlistentry>
|
---|
| 122 |
|
---|
| 123 | </variablelist>
|
---|
| 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | </sect1>
|
---|