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