schema - print the database dictionary
SYNOPSIS
schema [-f] [-t] [-n] [-a] [[-fc] [-Dn] [ tableorlist ...]] [< tableorlist]
DESCRIPTION
schema
prints a schema, or a database dictionary,
from
The inclusion of `-' on the command line can be used
to indicate the position at which the table or list
waiting on the standard input should be processed.
tableorlist.
OPTIONS
- -t output a table with a column containing
- the name of the tableorlist.
- -f output a table with a column containing
- the format (table or list) of the tableorlist.
- -n output a table with a column numbering each
- column in the tableorlist (this was the function of the
retired
dbdict
command).
- -a output a table with all of the information
- provided by the options described above.
- -fc `c' is the input tableorlist field separation character.
- -Dn
- turn on debugging at level n, or 1 if n
is not specified.
EXAMPLE
$ schema -a inventory maillist | justify
table format field name
--------- ------ ----- -----------
inventory table 1 Item
inventory table 2 Amount
inventory table 3 Cost
inventory table 4 Value
inventory table 5 Description
maillist list 1 Name
maillist list 2 Street
maillist list 3 City
maillist list 4 State
maillist list 5 ZIP
AKA
SEE ALSO