aboutsummaryrefslogtreecommitdiffstats
path: root/appendixa/findutils-desc.xml
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-07-22 19:45:10 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-07-22 19:45:10 +0000
commitb822811980a5f82726cb641cbeff66be9eb6d92a (patch)
tree27c4db3c62aaea065b053e43c39b2ba44c04a05f /appendixa/findutils-desc.xml
parent46f5461af92bc70c62bbb92895032b930954d835 (diff)
XML changes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@827 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'appendixa/findutils-desc.xml')
-rw-r--r--appendixa/findutils-desc.xml52
1 files changed, 19 insertions, 33 deletions
diff --git a/appendixa/findutils-desc.xml b/appendixa/findutils-desc.xml
index d95301f06..0ed5f361d 100644
--- a/appendixa/findutils-desc.xml
+++ b/appendixa/findutils-desc.xml
@@ -1,10 +1,8 @@
<sect2>
<title>Contents</title>
-<para>
-The Findutils package contains the find, locate, updatedb, xargs,
-frcode, code and bigram programs.
-</para>
+<para>The Findutils package contains the find, locate, updatedb, xargs,
+frcode, code and bigram programs.</para>
</sect2>
@@ -12,75 +10,63 @@ frcode, code and bigram programs.
<sect3><title>Find</title>
-<para>
-The find program searches for files in a directory hierarchy which match
+<para>The find program searches for files in a directory hierarchy which match
a certain criteria. If no criteria is given, it lists all files in the
-current directory and it's subdirectories.
-</para>
+current directory and it's subdirectories.</para>
</sect3>
<sect3><title>Locate</title>
-<para>
-Locate scans a database which contain all files and directories on a
+<para>Locate scans a database which contain all files and directories on a
filesystem. This program lists the files and directories in this
database matching a certain criteria. If a user is looking for a file this
program will scan the database and tell him exactly where the files he
requested are located. This only makes sense if the locate database is
-fairly up-to-date else it will provide out-of-date information.
-</para>
+fairly up-to-date else it will provide out-of-date information.</para>
</sect3>
<sect3><title>Updatedb</title>
-<para>
-The updatedb program updates the locate database. It scans the entire
+<para>The updatedb program updates the locate database. It scans the entire
file system (including other file system that are currently mounted
unless it is told not to do so) and puts every directory and file it finds
into the database that's used by the locate program which retrieves this
information. It's a good practice to update this database once a day to
-have it up-to-date whenever it is needed.
-</para>
+have it up-to-date whenever it is needed.</para>
</sect3>
<sect3><title>Xargs</title>
-<para>
-The xargs command applies a command to a list of files. If there is a need to
-perform the same command on multiple files, a file can be created that
-contains all these files (one per line) and use xargs to perform that
-command on the list.
-</para>
+<para>The xargs command applies a command to a list of files. If there is
+a need to perform the same command on multiple files, a file can be created
+that contains all these files (one per line) and use xargs to perform that
+command on the list.</para>
</sect3>
<sect3><title>frcode</title>
-<para>
-updatedb runs a program called frcode to compress the list of file names
+<para>updatedb runs a program called frcode to compress the list of file names
using front-compression, which reduces the database size by a factor of
-4 to 5.
-</para>
+4 to 5.</para>
</sect3>
<sect3><title>code</title>
-<para>
-code is the ancestor of frcode. It was used in older-style locate databases.
-</para>
+<para>code is the ancestor of frcode. It was used in older-style locate
+databases.</para>
</sect3>
<sect3><title>bigram</title>
-<para>
-bigram is used together with code to produce older-style locate databases. To
-learn more about these last three programs, read the locatedb.5 manual page.
-</para>
+<para>bigram is used together with code to produce older-style locate
+databases. To learn more about these last three programs, read the locatedb.5
+manual page.</para>
</sect3>