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