UBIMPORT

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
RETURN VALUES
AUTHORS

NAME

ubimport − A tool to convert bibles in Unbound Bible format to MQL for importing into Emdros

SYNOPSIS

ubimport [ options ]

DESCRIPTION

ubimport is a command-line tool to convert bibles in Unbound Bible format (http://unbound.biola.edu) to MQL, for easy importing into Emdros.

OPTIONS

ubimport supports the following command-line switches:
−−help

show help

−V , −−version

show version

−d , −−dbname dbname

set database name to use at the top of the MQL. If not set, the "CREATE DATABASE ... USE DATABASE" incantation won’t be issued.

−i , −−input filename

read from file filename. This must be a bible in valid Unbound Bible format. The default filename is "-", which means "standard input".

−o , −−output filename

dump to file filename. The default is "-", which means "standard output".

−b , −−backend backend

set database backend to ‘backend’. Valid values are: For PostgreSQL: "p", "pg", "postgres", and "postgresql". For MySQL: "m", "my", and "mysql". For SQLite 2.X.X: "2", "s", "l", "lt", "sqlite", and "sqlite2". For SQLite 3.X.X: "3", "s3", "lt3", and "sqlite3".

RETURN VALUES

0 Success
1
Wrong usage
2
Connection to backend server could not be established
3
An exception occurred (the type is printed on stderr)
4
Could not open file
5
Database error
6
Compiler error (internal error)

AUTHORS

Written Ulrik Sandborg-Petersen (ulrikp@emdros.org).