diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-05-17 21:55:01 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-05-17 21:55:01 +0000 |
commit | c6cb3aa2f176d65a5ebe77e7da82e20946188a98 (patch) | |
tree | 3167e42f874b5784307f02acc61a0570f31ccb38 /chapter06/findutils.xml | |
parent | 01b2724c70a6addd4e2190649c14a79be3a85090 (diff) |
HEAD: Retagged the Contents of ... sections.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3621 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/findutils.xml')
-rw-r--r-- | chapter06/findutils.xml | 73 |
1 files changed, 51 insertions, 22 deletions
diff --git a/chapter06/findutils.xml b/chapter06/findutils.xml index f0e7030e4..4847c2fc8 100644 --- a/chapter06/findutils.xml +++ b/chapter06/findutils.xml @@ -53,48 +53,77 @@ database to be in /var/lib/locate, which is FHS-compliant.</para> </sect2> -<sect2 id="contents-findutils"><title>Contents of Findutils</title> - -<para><emphasis>Installed programs</emphasis>: bigram, code, find, frcode, -locate, updatedb and xargs</para> - -</sect2> +<sect2 id="contents-findutils" role="content"><title>Contents of Findutils</title> +<segmentedlist> +<segtitle>Installed programs</segtitle> +<seglistitem><seg>bigram, code, find, frcode, locate, updatedb and xargs</seg></seglistitem> +</segmentedlist> -<sect2><title>Short descriptions</title> +<variablelist><title>Short descriptions</title> +<varlistentry> +<term id="bigram"><command>bigram</command></term> +<listitem> <indexterm zone="ch-system-findutils bigram"><primary sortas="b-bigram">bigram</primary></indexterm> -<para id="bigram"><command>bigram</command> was formerly used to produce locate -databases.</para> +<para>was formerly used to produce locate databases.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="code"><command>code</command></term> +<listitem> <indexterm zone="ch-system-findutils code"><primary sortas="b-code">code</primary></indexterm> -<para id="code"><command>code</command> was formerly used to produce locate +<para>was formerly used to produce locate databases. It is the ancestor of frcode.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="find"><command>find</command></term> +<listitem> <indexterm zone="ch-system-findutils find"><primary sortas="b-find">find</primary></indexterm> -<para id="find"><command>find</command> searches given directory trees for files -matching the specified criteria.</para> +<para>searches given directory trees for files matching the specified criteria.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="frcode"><command>frcode</command></term> +<listitem> <indexterm zone="ch-system-findutils frcode"><primary sortas="b-frcode">frcode</primary></indexterm> -<para id="frcode"><command>frcode</command> is called by updatedb to compress the -list of file names. It uses front-compression, reducing the database size by a -factor of 4 to 5.</para> - +<para>is called by updatedb to compress the list of file names. It uses +front-compression, reducing the database size by a factor of 4 to 5.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="locate"><command>locate</command></term> +<listitem> <indexterm zone="ch-system-findutils locate"><primary sortas="b-locate">locate</primary></indexterm> -<para id="locate"><command>locate</command> searches through a database of file names, +<para>searches through a database of file names, and reports the names that contain a given string or match a given pattern.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="updatedb"><command>updatedb</command></term> +<listitem> <indexterm zone="ch-system-findutils updatedb"><primary sortas="b-updatedb">updatedb</primary></indexterm> -<para id="updatedb"><command>updatedb</command> updates the locate database. It scans +<para>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 in the database.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="xargs"><command>xargs</command></term> +<listitem> <indexterm zone="ch-system-findutils xargs"><primary sortas="b-xargs">xargs</primary></indexterm> -<para id="xargs"><command>xargs</command> can be used to apply a given command to -a list of files.</para> +<para>can be used to apply a given command to a list of files.</para> +</listitem> +</varlistentry> +</variablelist> </sect2> - - </sect1> |