source: final-system/multilib/findutils.xml@ 9a83e07

Last change on this file since 9a83e07 was bf8c11f, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 5.7 KB
RevLine 
[bf8c11f]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 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-system-findutils" role="wrap">
11 <?dbhtml filename="findutils.html"?>
12
13 <title>Findutils-&findutils-version;</title>
14
15 <indexterm zone="ch-system-findutils">
16 <primary sortas="a-Findutils">Findutils</primary>
17 </indexterm>
18
19 <sect2 role="package">
20 <title/>
21
22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
23 href="../common/findutils.xml"
24 xpointer="xpointer(//*[@role='package']/para[1])"/>
25
26 <segmentedlist>
27 <segtitle>&buildtime;</segtitle>
28 <segtitle>&diskspace;</segtitle>
29
30 <seglistitem>
31 <seg>Not checked yet</seg>
32 <seg>Not checked yet</seg>
33 </seglistitem>
34 </segmentedlist>
35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="../common/findutils.xml"
38 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
39
40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of Findutils</title>
44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="../common/findutils.xml"
47 xpointer="xpointer(//*[@os='a'])"/>
48
49<screen><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \
50 --libexecdir=/usr/lib64/locate --localstatedir=/var/lib64/locate</userinput></screen>
51
52 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
53 href="../common/findutils.xml"
54 xpointer="xpointer(//*[@os='b'])"/>
55
56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
57 href="../common/findutils.xml"
58 xpointer="xpointer(//*[@os='c'])"/>
59
60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
61 href="../common/findutils.xml"
62 xpointer="xpointer(//*[@os='d'])"/>
63
64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="../common/findutils.xml"
66 xpointer="xpointer(//*[@os='e'])"/>
67
68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
69 href="../common/findutils.xml"
70 xpointer="xpointer(//*[@os='f'])"/>
71
72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
73 href="../common/findutils.xml"
74 xpointer="xpointer(//*[@os='g'])"/>
75
76 </sect2>
77
78 <sect2 id="contents-findutils" role="content">
79 <title>Contents of Findutils</title>
80
81 <segmentedlist>
82 <segtitle>Installed programs</segtitle>
83
84 <seglistitem>
85 <seg>bigram, code, find, frcode, locate, updatedb, and xargs</seg>
86 </seglistitem>
87 </segmentedlist>
88
89 <variablelist>
90 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
91 <?dbfo list-presentation="list"?>
92 <?dbhtml list-presentation="table"?>
93
94 <varlistentry id="bigram">
95 <term><command>bigram</command></term>
96 <listitem>
97 <para>Was formerly used to produce <command>locate</command>
98 databases</para>
99 <indexterm zone="ch-system-findutils bigram">
100 <primary sortas="b-bigram">bigram</primary>
101 </indexterm>
102 </listitem>
103 </varlistentry>
104
105 <varlistentry id="code">
106 <term><command>code</command></term>
107 <listitem>
108 <para>Was formerly used to produce <command>locate</command>
109 databases; it is the ancestor of <command>frcode</command>.</para>
110 <indexterm zone="ch-system-findutils code">
111 <primary sortas="b-code">code</primary>
112 </indexterm>
113 </listitem>
114 </varlistentry>
115
116 <varlistentry id="find">
117 <term><command>find</command></term>
118 <listitem>
119 <para>Searches given directory trees for files matching the specified
120 criteria</para>
121 <indexterm zone="ch-system-findutils find">
122 <primary sortas="b-find">find</primary>
123 </indexterm>
124 </listitem>
125 </varlistentry>
126
127 <varlistentry id="frcode">
128 <term><command>frcode</command></term>
129 <listitem>
130 <para>Is called by <command>updatedb</command> to compress the list
131 of file names; it uses front-compression, reducing the database size
132 by a factor of four to five.</para>
133 <indexterm zone="ch-system-findutils frcode">
134 <primary sortas="b-frcode">frcode</primary>
135 </indexterm>
136 </listitem>
137 </varlistentry>
138
139 <varlistentry id="locate">
140 <term><command>locate</command></term>
141 <listitem>
142 <para>Searches through a database of file names and reports the names
143 that contain a given string or match a given pattern</para>
144 <indexterm zone="ch-system-findutils locate">
145 <primary sortas="b-locate">locate</primary>
146 </indexterm>
147 </listitem>
148 </varlistentry>
149
150 <varlistentry id="updatedb">
151 <term><command>updatedb</command></term>
152 <listitem>
153 <para>Updates the <command>locate</command> database; it scans the
154 entire file system (including other file systems that are currently
155 mounted, unless told not to) and puts every file name it finds into
156 the database</para>
157 <indexterm zone="ch-system-findutils updatedb">
158 <primary sortas="b-updatedb">updatedb</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry id="xargs">
164 <term><command>xargs</command></term>
165 <listitem>
166 <para>Can be used to apply a given command to a list of files</para>
167 <indexterm zone="ch-system-findutils xargs">
168 <primary sortas="b-xargs">xargs</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 </variablelist>
174
175 </sect2>
176
177</sect1>
Note: See TracBrowser for help on using the repository browser.