source: clfs-sysroot/BOOK/final-system/common/diffutils.xml@ b6b8985

Last change on this file since b6b8985 was cee2ca2, checked in by Joe Ciccone <jciccone@…>, 18 years ago

Went through and made sure that every package in the final system that needs both --build and --host has them.

  • Property mode set to 100644
File size: 3.0 KB
Line 
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 %general-entities;
6]>
7
8<sect1 id="ch-system-diffutils" role="wrap">
9 <?dbhtml filename="diffutils.html"?>
10
11 <title>Diffutils-&diffutils-version;</title>
12
13 <indexterm zone="ch-system-diffutils">
14 <primary sortas="a-Diffutils">Diffutils</primary>
15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>The Diffutils package contains programs that show the differences
21 between files or directories.</para>
22
23 </sect2>
24
25 <sect2 role="installation">
26 <title>Installation of Diffutils</title>
27
28 <para os="a">Prepare Diffutils for compilation:</para>
29
30<screen os="b"><userinput>./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \
31 --prefix=/usr</userinput></screen>
32
33 <para os="c">Compile the package:</para>
34
35<screen os="d"><userinput>make</userinput></screen>
36
37 <para os="e">Install the package:</para>
38
39<screen os="f"><userinput>make DESTDIR=${CLFS} install</userinput></screen>
40
41 </sect2>
42
43 <sect2 id="contents-diffutils" role="content">
44 <title>Contents of Diffutils</title>
45
46 <segmentedlist>
47 <segtitle>Installed programs</segtitle>
48
49 <seglistitem>
50 <seg>cmp, diff, diff3, and sdiff</seg>
51 </seglistitem>
52 </segmentedlist>
53
54 <variablelist>
55 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
56 <?dbfo list-presentation="list"?>
57 <?dbhtml list-presentation="table"?>
58
59 <varlistentry id="cmp">
60 <term><command>cmp</command></term>
61 <listitem>
62 <para>Compares two files and reports whether or in which bytes
63 they differ</para>
64 <indexterm zone="ch-system-diffutils cmp">
65 <primary sortas="b-cmp">cmp</primary>
66 </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
74 the files differ</para>
75 <indexterm zone="ch-system-diffutils diff">
76 <primary sortas="b-diff">diff</primary>
77 </indexterm>
78 </listitem>
79 </varlistentry>
80
81 <varlistentry id="diff3">
82 <term><command>diff3</command></term>
83 <listitem>
84 <para>Compares three files line by line</para>
85 <indexterm zone="ch-system-diffutils diff3">
86 <primary sortas="b-diff3">diff3</primary>
87 </indexterm>
88 </listitem>
89 </varlistentry>
90
91 <varlistentry id="sdiff">
92 <term><command>sdiff</command></term>
93 <listitem>
94 <para>Merges two files and interactively outputs the results</para>
95 <indexterm zone="ch-system-diffutils sdiff">
96 <primary sortas="b-sdiff">sdiff</primary>
97 </indexterm>
98 </listitem>
99 </varlistentry>
100
101 </variablelist>
102
103 </sect2>
104
105</sect1>
Note: See TracBrowser for help on using the repository browser.