summaryrefslogtreecommitdiff
path: root/mail/bmf/files/bmfconv.1
diff options
context:
space:
mode:
Diffstat (limited to 'mail/bmf/files/bmfconv.1')
-rw-r--r--mail/bmf/files/bmfconv.181
1 files changed, 81 insertions, 0 deletions
diff --git a/mail/bmf/files/bmfconv.1 b/mail/bmf/files/bmfconv.1
new file mode 100644
index 00000000000..895258fff1f
--- /dev/null
+++ b/mail/bmf/files/bmfconv.1
@@ -0,0 +1,81 @@
+.\"Generated by db2man.xsl. Don't modify this, modify the source.
+.de Sh \" Subsection
+.br
+.if t .Sp
+.ne 5
+.PP
+\fB\\$1\fR
+.PP
+..
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Ip \" List item
+.br
+.ie \\n(.$>=3 .ne \\$3
+.el .ne 3
+.IP "\\$1" \\$2
+..
+.TH "BMFCONV" 1 "" "" ""
+.SH NAME
+bmfconv \- Database converter for bmf
+.SH "SYNOPSIS"
+
+.nf
+\fBbmfconv\fR [-f fmt] [-d db] [-e] [-i] [-v] [-h]
+.fi
+
+.SH "DESCRIPTION"
+
+.PP
+bmfconv converts bmf token databases between the supported formats. It can import flat text files into databases and export databases into flat text files.
+
+.PP
+PLEASE NOTE that the text files used in import and export operations are read and written in the current directory.
+
+.SH "OPTIONS"
+
+.PP
+\fB-f fmt\fR Specify database format. Supported formats are "db" for libdb and "mysql" for MySQL.
+
+.PP
+\fB-d db\fR Specify database name.
+
+.PP
+\fB-e\fR Export the database to text files.
+
+.PP
+\fB-i\fR Import the database from text files.
+
+.PP
+\fB-v\fR Display version information.
+
+.PP
+\fB-h\fR Display usage information.
+
+.SH "RETURN VALUES"
+
+.PP
+0 if conversion succeeds, nonzero if conversion fails.
+
+.SH "FILES"
+
+.TP
+\fIgoodlist.txt\fR
+Text file for import or export of good tokens.
+
+.TP
+\fIspamlist.txt\fR
+Text file for import or export of spam tokens.
+
+.SH "BUGS"
+
+.PP
+Should be more robust.
+
+.SH "AUTHOR"
+
+.PP
+Tom Marshall <tommy@tig-grr.com>. bmfconv is a part of the bmf package.
+