From 54e422c1d96d41a9fbc8938962b9cb0f1e087e94 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Fri, 3 Feb 2006 20:54:03 +0000 Subject: Indenting chapter 6, part 4 git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7340 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/findutils.xml | 268 ++++++++++++++++++++++++++++-------------------- 1 file changed, 154 insertions(+), 114 deletions(-) (limited to 'chapter06/findutils.xml') diff --git a/chapter06/findutils.xml b/chapter06/findutils.xml index 8112a4e46..ae379d04d 100644 --- a/chapter06/findutils.xml +++ b/chapter06/findutils.xml @@ -1,140 +1,180 @@ - %general-entities; ]> + -Findutils-&findutils-version; - + + + Findutils-&findutils-version; + + + Findutils + + + + -<indexterm zone="ch-system-findutils"><primary sortas="a-Findutils">Findutils</primary></indexterm> + <para>The Findutils package contains programs to find files. These programs + are provided to recursively search through a directory tree and to + create, maintain, and search a database (often faster than the recursive + find, but unreliable if the database has not been recently updated).</para> -<sect2 role="package"><title/> -<para>The Findutils package contains programs to find files. These programs -are provided to recursively search through a directory tree and to -create, maintain, and search a database (often faster than the recursive -find, but unreliable if the database has not been recently updated).</para> + <segmentedlist> + <segtitle>&buildtime;</segtitle> + <segtitle>&diskspace;</segtitle> -<segmentedlist> -<segtitle>&buildtime;</segtitle> -<segtitle>&diskspace;</segtitle> -<seglistitem><seg>0.1 SBU</seg><seg>9.4 MB</seg></seglistitem> -</segmentedlist> + <seglistitem> + <seg>0.1 SBU</seg> + <seg>9.4 MB</seg> + </seglistitem> + </segmentedlist> -<segmentedlist> -<segtitle>&dependencies;</segtitle> -<seglistitem><seg>Bash, Binutils, Coreutils, -Diffutils, GCC, Gettext, Glibc, Grep, Make and Sed</seg></seglistitem> -</segmentedlist> -</sect2> + <segmentedlist> + <segtitle>&dependencies;</segtitle> -<sect2 role="installation"> -<title>Installation of Findutils + + Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Grep, + Make and Sed + + -Prepare Findutils for compilation: + + + + Installation of Findutils + + Prepare Findutils for compilation: ./configure --prefix=/usr --libexecdir=/usr/lib/findutils \ --localstatedir=/var/lib/locate -The meaning of the configure options: + + The meaning of the configure options: - - ---localstatedir -This option changes the location of the locate -database to be in /var/lib/locate, which -is FHS-compliant. - - + + --localstatedir + + This option changes the location of the locate + database to be in /var/lib/locate, + which is FHS-compliant. + + -Compile the package: + + + Compile the package: make -To test the results, issue: -make check. + To test the results, issue: + make check. -Install the package: + Install the package: make install - - -Contents of Findutils - - -Installed programs -bigram, code, find, frcode, locate, updatedb, and xargs - - -Short Descriptions - - - - -bigram - -Was formerly used to produce locate databases -bigram - - - - -code - -Was formerly used to produce locate -databases; it is the ancestor of frcode. -code - - - - -find - -Searches given directory trees for files matching the specified criteria -find - - - - -frcode - -Is called by updatedb to compress the list of file names; it uses -front-compression, reducing the database size by a factor of four to -five. -frcode - - - - -locate - -Searches through a database of file names and reports the names -that contain a given string or match a given pattern -locate - - - - -updatedb - -Updates the locate database; it scans -the entire file system (including other file systems that are currently mounted, -unless told not to) and puts every file name it finds into the database -updatedb - - - - -xargs - -Can be used to apply a given command to a list of files -xargs - - - - - + + + + Contents of Findutils + + + Installed programs + + + bigram, code, find, frcode, locate, updatedb, and xargs + + + + + Short Descriptions + + + + + bigram + + Was formerly used to produce locate + databases + + bigram + + + + + + code + + Was formerly used to produce locate + databases; it is the ancestor of frcode. + + code + + + + + + find + + Searches given directory trees for files matching the specified + criteria + + find + + + + + + frcode + + Is called by updatedb to compress the list + of file names; it uses front-compression, reducing the database size + by a factor of four to five. + + frcode + + + + + + locate + + Searches through a database of file names and reports the names + that contain a given string or match a given pattern + + locate + + + + + + updatedb + + Updates the locate database; it scans the + entire file system (including other file systems that are currently + mounted, unless told not to) and puts every file name it finds into + the database + + updatedb + + + + + + xargs + + Can be used to apply a given command to a list of files + + xargs + + + + + + + - -- cgit v1.2.3-54-g00ecf