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 | ]>
|
---|
6 | <sect1 id="ch-system-diffutils" xreflabel="Diffutils">
|
---|
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>
|
---|
11 |
|
---|
12 | <para>The Diffutils package contains programs that show the differences
|
---|
13 | between files or directories.</para>
|
---|
14 |
|
---|
15 | <screen>&buildtime; 0.1 SBU
|
---|
16 | &diskspace; 7.5 MB</screen>
|
---|
17 |
|
---|
18 | <para>Diffutils installation depends on: Bash, Binutils, Coreutils, Diffutils, GCC,
|
---|
19 | Gettext, Glibc, Grep, Make, Sed.</para>
|
---|
20 |
|
---|
21 |
|
---|
22 |
|
---|
23 | <sect2>
|
---|
24 | <title>Installation of Diffutils</title>
|
---|
25 |
|
---|
26 | <para>Prepare Diffutils for compilation:</para>
|
---|
27 |
|
---|
28 | <screen><userinput>./configure --prefix=/usr</userinput></screen>
|
---|
29 |
|
---|
30 | <para>Compile the package:</para>
|
---|
31 |
|
---|
32 | <screen><userinput>make</userinput></screen>
|
---|
33 |
|
---|
34 | <para>Install it:</para>
|
---|
35 |
|
---|
36 | <screen><userinput>make install</userinput></screen>
|
---|
37 |
|
---|
38 | </sect2>
|
---|
39 |
|
---|
40 |
|
---|
41 | <sect2 id="contents-diffutils"><title>Contents of Diffutils</title>
|
---|
42 |
|
---|
43 | <para><emphasis>Installed programs</emphasis>: cmp, diff, diff3 and sdiff</para>
|
---|
44 |
|
---|
45 | </sect2>
|
---|
46 |
|
---|
47 |
|
---|
48 | <sect2><title>Short descriptions</title>
|
---|
49 |
|
---|
50 | <indexterm zone="ch-system-diffutils cmp"><primary sortas="b-cmp">cmp</primary></indexterm>
|
---|
51 | <para id="cmp"><command>cmp</command> compares two files and reports whether or
|
---|
52 | in which bytes they differ.</para>
|
---|
53 |
|
---|
54 | <indexterm zone="ch-system-diffutils diff"><primary sortas="b-diff">diff</primary></indexterm>
|
---|
55 | <para id="diff"><command>diff</command> compares two files or directories and reports
|
---|
56 | which lines in the files differ.</para>
|
---|
57 |
|
---|
58 | <indexterm zone="ch-system-diffutils diff3"><primary sortas="b-diff3">diff3</primary></indexterm>
|
---|
59 | <para id="diff3"><command>diff3</command> compares three files line by line.</para>
|
---|
60 |
|
---|
61 | <indexterm zone="ch-system-diffutils sdiff"><primary sortas="b-sdiff">sdiff</primary></indexterm>
|
---|
62 | <para id="sdiff"><command>sdiff</command> merges two files and interactively outputs
|
---|
63 | the results.</para>
|
---|
64 |
|
---|
65 | </sect2>
|
---|
66 |
|
---|
67 |
|
---|
68 |
|
---|
69 | </sect1>
|
---|