~ubuntu-branches/ubuntu/lucid/bogofilter/lucid-updates

« back to all changes in this revision

Viewing changes to doc/bf_compact.htmlin

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-05-06 05:41:52 UTC
  • mfrom: (1.1.11 upstream) (2.1.4 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090506054152-tgameecssbuv4np6
Tags: 1.2.0-2ubuntu1
* Merge from debian unstable, remaining changes: LP: #372497
  - don't build qdbm.
  - Don't build tokyocabinet support as it's in universe.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>bf_compact</title><meta name="generator" content="DocBook XSL Stylesheets V1.70.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="bf_compact.1"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>bf_compact &#8212; shell script to compact a <span class="application">bogofilter</span> directory</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">bf_compact</code>   <em class="replaceable"><code>bogofilter_directory</code></em>  [<em class="replaceable"><code>wordlist_name</code></em>...]</p></div></div><div class="refsect1" lang="en"><a name="description"></a><h2>Description</h2><p><span><strong class="command">bf_compact</strong></span> creates a more compact
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>bf_compact</title><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="bf_compact.1"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>bf_compact &#8212; shell script to compact a <span class="application">bogofilter</span> directory</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">bf_compact</code>   <em class="replaceable"><code>bogofilter_directory</code></em>  [<em class="replaceable"><code>wordlist_name</code></em>...]</p></div></div><div class="refsect1" lang="en"><a name="description"></a><h2>Description</h2><p><span class="command"><strong>bf_compact</strong></span> creates a more compact
2
2
            <span class="application">bogofilter</span> working directory with a
3
3
            dump/load cycle and renames the previous
4
4
            <em class="replaceable"><code>bogofilter_directory</code></em> to
5
 
            <em class="replaceable"><code>bogofilter_directory</code></em><code class="filename">.old</code>.</p><p>Note:  <span><strong class="command">bf_compact</strong></span> cannot be used to process the
6
 
            current working directory, ".", because of directory renaming issues.</p><p>If no <em class="replaceable"><code>wordlist_file</code></em> arguments are
7
 
        given, then <span><strong class="command">bf_compact</strong></span> will use the
 
5
            <em class="replaceable"><code>bogofilter_directory</code></em><code class="filename">.old</code>.</p><p>Note:  <span class="command"><strong>bf_compact</strong></span> cannot be used to process the
 
6
            current working directory, ".", because that cannot be
 
7
            renamed.</p><p>If no <em class="replaceable"><code>wordlist_file</code></em> arguments are
 
8
        given, then <span class="command"><strong>bf_compact</strong></span> will use the
8
9
        configured set of wordlists, if the given
9
10
        <em class="replaceable"><code>bogofilter_directory</code></em> is the same as
10
11
        the configured, or use all *.db files if it is a different
11
12
        directory.</p></div><div class="refsect1" lang="en"><a name="exitstatus"></a><h2>Exit Status</h2><p>The script exits with status code 0 if everything went
12
13
            well, and nonzero if it encountered trouble.</p></div><div class="refsect1" lang="en"><a name="notes"></a><h2>Notes</h2><p>This script will delete
13
14
                <em class="replaceable"><code>bogofilter_directory</code></em><code class="filename">.old</code>
14
 
        and all of its contents!</p><p>This script is meant for use with Berkeley DB based
15
 
            <span class="application">bogofilter</span> versions.</p><p>This script expects a SUSv2 compliant shell.  Solaris
 
15
        and all of its contents!</p><p>This script expects a SUSv2 compliant shell.  Solaris
16
16
            systems should have the <code class="systemitem">SUNWxcu4</code> package installed (when
17
17
            <span class="application">bogofilter</span> is configured) so that
18
18
            <code class="filename">/usr/xpg4/bin/sh</code> can