File: dbconfig-load-include.1

package info (click to toggle)
dbconfig-common 1.8.46%2Bsqueeze.0
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 2,428 kB
  • ctags: 103
  • sloc: sh: 1,486; makefile: 528; sql: 25; perl: 12
file content (67 lines) | stat: -rw-r--r-- 1,708 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
.TH "dbconfig-load-include" "1" "March 2005" "sean finney " "dbconfig-common"
.SH "NAME"
dbconfig\-load\-include \- parse custom format db config files

.SH "SYNOPSIS"
.B dbconfig\-load\-include [\-hv] [\-a] [\-d[varname]] [\-u[varname]] [\-p[varname]] [\-s[varname]] [\-P[varname]] [\-t[varname]] \-f format infile
.br 

.SH "DESCRIPTION"
.B dbconfig\-load\-include
is a program to parse custom format include files containing the
information necessary to connect a program to a database resource.  This
is primarily intended to be used by the dbconfig\-common package to
import database settings of packages with pre\-existing configurations
that have migrated to dbconfig\-common.  for more information, please
see /usr/share/doc/dbconfig\-common.

.SH "OPTIONS"
.TP 
infile
use the given config file as input
.TP 
\fB\-f\fR|\-\-format
use the given output format (default: sh)
.TP 
\fB\-a\fR|\-\-all
include all information in output (default)
.TP 
\fB\-d\fR|\-\-dbname
include the dbname in the output
.TP 
\fB\-p\fR|\-\-dbpass
include the dbpass in the output
.TP 
\fB\-s\fR|\-\-dbserver
include the dbserver in the output
.TP 
\fB\-P\fR|\-\-dbport
include the dbport in the output
.TP 
\fB\-u\fR|\-\-dbuser
include the dbuser in the output
.TP 
\fB\-t\fR|\-\-dbtype
include the dbtype in the output
.TP 
\fB\-h\fR|\-\-help
display this helpful message
.TP 
\fB\-v\fR|\-\-version
output the version and exit

.PP 
format is one of a list of include\-file style formats for various
programming languages.  the current list includes:
.TP 
sh 
/bin/sh style include file
.TP 
perl
perl parseable include file
.TP 
php
php parseable include file
.TP 
exec
run the file as a script and interpret its output