source: chapter06/diffutils.xml@ 7e131ea

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 7e131ea was 7e131ea, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to glibc-2.25.
Revert gperf to version 3.0.4.
Update to linux-4.9.8.tar.xz.
Update to check-0.11.0.
Update to shadow-4.4.
Update to e2fsprogs-1.43.4.
Update to sed-4.4.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11174 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • 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-ch6-sbu;</seg>
35 <seg>&diffutils-ch6-du;</seg>
36 </seglistitem>
37 </segmentedlist>
38
39 </sect2>
40
41 <sect2 role="installation">
42 <title>Installation of Diffutils</title>
43
44 <para>First fix a file so locale files are installed:</para>
45
46<screen><userinput remap="pre">sed -i 's:= @mkdir_p@:= /bin/mkdir -p:' po/Makefile.in.in</userinput></screen>
47
48 <para>Prepare Diffutils for compilation:</para>
49
50<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
51
52 <para>Compile the package:</para>
53
54<screen><userinput remap="make">make</userinput></screen>
55
56 <para>To test the results, issue:</para>
57
58<screen><userinput remap="test">make check</userinput></screen>
59
60 <para>Install the package:</para>
61
62<screen><userinput remap="install">make install</userinput></screen>
63
64 </sect2>
65
66
67 <sect2 id="contents-diffutils" role="content">
68 <title>Contents of Diffutils</title>
69
70 <segmentedlist>
71 <segtitle>Installed programs</segtitle>
72
73 <seglistitem>
74 <seg>cmp, diff, diff3, and sdiff</seg>
75 </seglistitem>
76 </segmentedlist>
77
78 <variablelist>
79 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
80 <?dbfo list-presentation="list"?>
81 <?dbhtml list-presentation="table"?>
82
83 <varlistentry id="cmp">
84 <term><command>cmp</command></term>
85 <listitem>
86 <para>Compares two files and reports whether or in which bytes they
87 differ</para>
88 <indexterm zone="ch-system-diffutils cmp">
89 <primary sortas="b-cmp">cmp</primary>
90 </indexterm>
91 </listitem>
92 </varlistentry>
93
94 <varlistentry id="diff">
95 <term><command>diff</command></term>
96 <listitem>
97 <para>Compares two files or directories and reports which lines in
98 the files differ</para>
99 <indexterm zone="ch-system-diffutils diff">
100 <primary sortas="b-diff">diff</primary>
101 </indexterm>
102 </listitem>
103 </varlistentry>
104
105 <varlistentry id="diff3">
106 <term><command>diff3</command></term>
107 <listitem>
108 <para>Compares three files line by line</para>
109 <indexterm zone="ch-system-diffutils diff3">
110 <primary sortas="b-diff3">diff3</primary>
111 </indexterm>
112 </listitem>
113 </varlistentry>
114
115 <varlistentry id="sdiff">
116 <term><command>sdiff</command></term>
117 <listitem>
118 <para>Merges two files and interactively outputs the results</para>
119 <indexterm zone="ch-system-diffutils sdiff">
120 <primary sortas="b-sdiff">sdiff</primary>
121 </indexterm>
122 </listitem>
123 </varlistentry>
124
125 </variablelist>
126
127 </sect2>
128
129</sect1>
Note: See TracBrowser for help on using the repository browser.