summaryrefslogtreecommitdiff
path: root/support/dktools/man/man1/dk-dbco.1
diff options
context:
space:
mode:
Diffstat (limited to 'support/dktools/man/man1/dk-dbco.1')
-rw-r--r--support/dktools/man/man1/dk-dbco.1185
1 files changed, 0 insertions, 185 deletions
diff --git a/support/dktools/man/man1/dk-dbco.1 b/support/dktools/man/man1/dk-dbco.1
deleted file mode 100644
index 72cd72d857..0000000000
--- a/support/dktools/man/man1/dk-dbco.1
+++ /dev/null
@@ -1,185 +0,0 @@
-'\" t
-.\" Title: dk-dbco
-.\" Author: [see the "AUTHORS" section]
-.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
-.\" Date: 11/06/2019
-.\" Manual: \ \&
-.\" Source: \ \&
-.\" Language: English
-.\"
-.TH "DK\-DBCO" "1" "11/06/2019" "\ \&" "\ \&"
-.\" -----------------------------------------------------------------
-.\" * Define some portability stuff
-.\" -----------------------------------------------------------------
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.\" http://bugs.debian.org/507673
-.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.ie \n(.g .ds Aq \(aq
-.el .ds Aq '
-.\" -----------------------------------------------------------------
-.\" * set default formatting
-.\" -----------------------------------------------------------------
-.\" disable hyphenation
-.nh
-.\" disable justification (adjust text to left margin only)
-.ad l
-.\" -----------------------------------------------------------------
-.\" * MAIN CONTENT STARTS HERE *
-.\" -----------------------------------------------------------------
-.SH "NAME"
-dk-dbco \- Copy and convert simple databases
-.SH "SYNOPSIS"
-.sp
-\fBdk\-dbco\fR [\fIoptions\fR] \fIsource\fR \fIdestination\fR
-.SH "DESCRIPTION"
-.sp
-The program copies the records from a simple database into another simple database\&. The records are converted to the new database type if necessary\&.
-.sp
-A \fIsimple\fR \fIdatabase\fR is a Berkeley DB, NDBM or in\-memory database\&. The records are key/value pairs, both key and value are a byte array\&. Keys are unique\&.
-.sp
-Use type::filename to specify databases (Type and file name are separated by two colons)\&. The following type names can be used:
-.TS
-tab(:);
-lt lt
-lt lt
-lt lt.
-T{
-.sp
-bdb
-T}:T{
-.sp
-Berkeley DB
-T}
-T{
-.sp
-ndbm
-T}:T{
-.sp
-NDBM database
-T}
-T{
-.sp
-mem
-T}:T{
-.sp
-in\-memory database
-T}
-.TE
-.sp 1
-.SH "OPTIONS"
-.PP
-\fB\-a\fR, \fB\-\-add\fR
-.RS 4
-adds data to an existing database (modifies or adds records)\&. Without this option the program deletes an existing database and creates a new one\&.
-.RE
-.PP
-\fB\-k\fR \fIsize\fR, \fB\-\-key\-buffer\-size=\fR\fIsize\fR
-.RS 4
-Key buffer size (number of bytes), default: 4096\&.
-.RE
-.PP
-\fB\-v\fR \fIsize\fR, \fB\-\-value\-buffer\-size=\fR\fIsize\fR
-.RS 4
-Value buffer size (number of bytes), default: 4096\&.
-.RE
-.PP
-\fB\-R\fR, \fB\-\-reset\fR
-.RS 4
-Ignore preference values for key and value buffer size\&.
-.RE
-.SH "EXIT STATUS"
-.sp
-The program returns exit status code 0 on success, all other status codes indicate an error\&.
-.SH "NOTES"
-.sp
-This program uses DK libraries version 4\&.
-.SH "PREFERENCES"
-.PP
-\fBdb\&.key\&.max\-size\fR
-.RS 4
-Key buffer size if the \-k option was not used\&.
-.RE
-.PP
-\fBdb\&.value\&.max\-size\fR
-.RS 4
-Value buffer size if the \-v option was not used\&.
-.RE
-.SH "EXAMPLES"
-.sp
-.RS 4
-.ie n \{\
-\h'-04'\(bu\h'+03'\c
-.\}
-.el \{\
-.sp -1
-.IP \(bu 2.3
-.\}
-Convert Berkeley DB database db1\&.db to in\-memory database db2\&.dat, truncate db2\&.dat if it already exists:
-.sp
-dk\-dbco bdb::db1\&.db mem::db2\&.dat
-.RE
-.sp
-.RS 4
-.ie n \{\
-\h'-04'\(bu\h'+03'\c
-.\}
-.el \{\
-.sp -1
-.IP \(bu 2.3
-.\}
-Convert NDBM database db3 (consisting of files db3\&.dir and db3\&.pag) to in\-memory database db4\&.dat, keep existing records in db4\&.dat:
-.sp
-dk\-dbco \-a ndbm::db3 mem::db4\&.dat
-.RE
-.SH "AUTHORS"
-.sp
-Dirk Krause
-.SH "COPYRIGHT AND LICENSE"
-.sp
-Copyright (c) 2016, Dirk Krause
-.sp
-All rights reserved\&.
-.sp
-Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
-.sp
-.RS 4
-.ie n \{\
-\h'-04'\(bu\h'+03'\c
-.\}
-.el \{\
-.sp -1
-.IP \(bu 2.3
-.\}
-Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer\&.
-.RE
-.sp
-.RS 4
-.ie n \{\
-\h'-04'\(bu\h'+03'\c
-.\}
-.el \{\
-.sp -1
-.IP \(bu 2.3
-.\}
-Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution\&.
-.RE
-.sp
-.RS 4
-.ie n \{\
-\h'-04'\(bu\h'+03'\c
-.\}
-.el \{\
-.sp -1
-.IP \(bu 2.3
-.\}
-Neither the name of the copyright holder(s) nor the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission\&.
-.RE
-.sp
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \(lqAS IS\(rq AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED\&. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE\&.
-.SH "SEE ALSO"
-.PP
-http://sourceforge\&.net/p/dktools/wiki/Home/
-.RS 4
-Project homepage\&.
-.RE