source: final-system/multilib/findutils.xml@ 73b79203

Last change on this file since 73b79203 was f32f537, checked in by Jim Gifford <clfs@…>, 19 years ago

r788@server (orig r786): jim | 2005-12-01 12:07:35 -0800

r851@server: jim | 2005-12-01 12:07:08 -0800
Text updates from G. Moko. Thank You


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