source: chapter08/diffutils.xml@ d71da7fc

xry111/glibc-2.34
Last change on this file since d71da7fc was d71da7fc, checked in by Xi Ruoyao <xry111@…>, 18 months ago

Revert "fix ill-formed XML"

This reverts commit 151f93753d83919a5dcce49ab397220dc4ab9713.

  • Property mode set to 100644
File size: 3.6 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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 <sect1info condition="script">
12 <productname>diffutils</productname>
13 <productnumber>&diffutils-version;</productnumber>
14 <address>&diffutils-url;</address>
15 </sect1info>
16
17 <title>Diffutils-&diffutils-version;</title>
18
19 <indexterm zone="ch-system-diffutils">
20 <primary sortas="a-Diffutils">Diffutils</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title/>
25
26 <para>The Diffutils package contains programs that show the differences
27 between files or directories.</para>
28
29 <segmentedlist>
30 <segtitle>&buildtime;</segtitle>
31 <segtitle>&diskspace;</segtitle>
32
33 <seglistitem>
34 <seg>&diffutils-fin-sbu;</seg>
35 <seg>&diffutils-fin-du;</seg>
36 </seglistitem>
37 </segmentedlist>
38
39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of Diffutils</title>
43
44 <para>At first, fix an issue building the package with Glibc-2.34 or
45 later:<para>
46
47<screen><userinput remap="pre">sed 's/SIGSTKSZ &lt; 16384/0/' -i lib/c-stack.c</userinput></screen>
48
49 <para>Prepare Diffutils for compilation:</para>
50
51<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
52
53 <para>Compile the package:</para>
54
55<screen><userinput remap="make">make</userinput></screen>
56
57 <para>To test the results, issue:</para>
58
59<screen><userinput remap="test">make check</userinput></screen>
60
61 <para>Install the package:</para>
62
63<screen><userinput remap="install">make install</userinput></screen>
64
65 </sect2>
66
67
68 <sect2 id="contents-diffutils" role="content">
69 <title>Contents of Diffutils</title>
70
71 <segmentedlist>
72 <segtitle>Installed programs</segtitle>
73
74 <seglistitem>
75 <seg>cmp, diff, diff3, and sdiff</seg>
76 </seglistitem>
77 </segmentedlist>
78
79 <variablelist>
80 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
81 <?dbfo list-presentation="list"?>
82 <?dbhtml list-presentation="table"?>
83
84 <varlistentry id="cmp">
85 <term><command>cmp</command></term>
86 <listitem>
87 <para>Compares two files and reports whether or in which bytes they
88 differ</para>
89 <indexterm zone="ch-system-diffutils cmp">
90 <primary sortas="b-cmp">cmp</primary>
91 </indexterm>
92 </listitem>
93 </varlistentry>
94
95 <varlistentry id="diff">
96 <term><command>diff</command></term>
97 <listitem>
98 <para>Compares two files or directories and reports which lines in
99 the files differ</para>
100 <indexterm zone="ch-system-diffutils diff">
101 <primary sortas="b-diff">diff</primary>
102 </indexterm>
103 </listitem>
104 </varlistentry>
105
106 <varlistentry id="diff3">
107 <term><command>diff3</command></term>
108 <listitem>
109 <para>Compares three files line by line</para>
110 <indexterm zone="ch-system-diffutils diff3">
111 <primary sortas="b-diff3">diff3</primary>
112 </indexterm>
113 </listitem>
114 </varlistentry>
115
116 <varlistentry id="sdiff">
117 <term><command>sdiff</command></term>
118 <listitem>
119 <para>Merges two files and interactively outputs the results</para>
120 <indexterm zone="ch-system-diffutils sdiff">
121 <primary sortas="b-sdiff">sdiff</primary>
122 </indexterm>
123 </listitem>
124 </varlistentry>
125
126 </variablelist>
127
128 </sect2>
129
130</sect1>
Note: See TracBrowser for help on using the repository browser.