diff --git a/doc/man/dbck.8 b/doc/man/dbck.8
new file mode 100644
index 0000000000000000000000000000000000000000..8b7d4257355eb88be9e478ee9e2325d657b4b74b
--- /dev/null
+++ b/doc/man/dbck.8
@@ -0,0 +1,42 @@
+.\" $Id: dbck.8,v 1.1 1991/08/22 19:55:33 linus Exp $
+.\" $Date: 1991/08/22 19:55:33 $
+.TH dbck 8 "August 22, 1991"
+.SH NAME
+dbck - checks and fixes the database up, removes unreferenced texts
+from the texts file.
+.SH SYNOPSIS
+.B /usr/lyskom/bin/dbck 
+[
+.B -Dirvg
+]
+.SH DESCRIPTION
+This program is run after something has happened that has made the
+database corrupted.
+.PP
+It fixes the database, checking all references, rewriting the file
+with all the text.
+.SH OPTIONS
+.TP
+.BI \-D " database directory"
+Use the database in the
+.I database directory
+as the target of the checkup.
+.TP
+.B \-i
+Run interactively asking the user questions.
+.TP
+.B \-r
+Repair simple errors without asking.
+.TP
+.B \-v
+Verbose mode. Report not only errors but other statuses of the
+database.
+.TP
+.B \-g
+Do the garbage collect of the texts part of the database. This is
+sometimes called a compression of the text but it only removes
+non-referenced texts.
+.SH BUGS
+.SH AUTHOR
+Per Cederqvist <ceder@lysator.liu.se>
+
diff --git a/doc/man/man8/dbck.8 b/doc/man/man8/dbck.8
new file mode 100644
index 0000000000000000000000000000000000000000..8b7d4257355eb88be9e478ee9e2325d657b4b74b
--- /dev/null
+++ b/doc/man/man8/dbck.8
@@ -0,0 +1,42 @@
+.\" $Id: dbck.8,v 1.1 1991/08/22 19:55:33 linus Exp $
+.\" $Date: 1991/08/22 19:55:33 $
+.TH dbck 8 "August 22, 1991"
+.SH NAME
+dbck - checks and fixes the database up, removes unreferenced texts
+from the texts file.
+.SH SYNOPSIS
+.B /usr/lyskom/bin/dbck 
+[
+.B -Dirvg
+]
+.SH DESCRIPTION
+This program is run after something has happened that has made the
+database corrupted.
+.PP
+It fixes the database, checking all references, rewriting the file
+with all the text.
+.SH OPTIONS
+.TP
+.BI \-D " database directory"
+Use the database in the
+.I database directory
+as the target of the checkup.
+.TP
+.B \-i
+Run interactively asking the user questions.
+.TP
+.B \-r
+Repair simple errors without asking.
+.TP
+.B \-v
+Verbose mode. Report not only errors but other statuses of the
+database.
+.TP
+.B \-g
+Do the garbage collect of the texts part of the database. This is
+sometimes called a compression of the text but it only removes
+non-referenced texts.
+.SH BUGS
+.SH AUTHOR
+Per Cederqvist <ceder@lysator.liu.se>
+