Files
rdb/man/tabletotbl.man
T

71 lines
2.1 KiB
Groff

.TH tabletotbl "" "" "/rdb Command"
.PC "Convert /rdb table format to UNIX tbl/nroff format"
\fBtabletotbl < \fItablefile \fB> \fItblfile\fR
.PP
.II "table^convert to tbl"
.II tbl
The command
.B tabletotbl
converts an
.B /rdb
table to UNIX
.B tbl
format.
.B tbl
is a UNIX program that formats tables for the
.B nroff/troff
formatting and typesetting programs.
.\"See the UNIX documentation for
.\".B "tbl, nroff,"
.\"and
.\".B troff.
.\".SH Example
.\"Suppose we have a journal table:
.\".sp
.\".nf
.\"$ cat journal
.\"Date Account Debit Credit Description
.\"------ ------- ----- ------ ----------------------------------
.\"861222 101 25000 cash from loan
.\"861222 211.1 25000 loan number #378-14 Bank Amerigold
.\"861223 150.1 10000 test equipment from Zarkoff
.\"861223 101 5000 cash payment
.\"861223 211.2 5000 note payable to Zarkoff Equipment
.\"861224 130 30000 inventory - parts from CCPSC
.\"861224 201.1 15000 accounts payable to CCPSC
.\"861224 101 15000 cash payment to CCPSC for parts
.\".sp
.\"$ tabletotbl < journal
.\"\&.TS
.\"r n r r l.
.\"Date Account Debit Credit Description
.\"------ ------- ----- ------ ----------------------------------
.\"861222 101 25000 cash from loan
.\"861222 211.1 25000 loan number #378-14 Bank Amerigold
.\"861223 150.1 10000 test equipment from Zarkoff
.\"861223 101 5000 cash payment
.\"861223 211.2 5000 note payable to Zarkoff Equipment
.\"861224 130 30000 inventory - parts from CCPSC
.\"861224 201.1 15000 accounts payable to CCPSC
.\"861224 101 15000 cash payment to CCPSC for parts
.\"\&.TE
.\".fi
.\".sp
.\"This can be sent on to
.\".B tbl
.\"and
.\".B nroff,
.\"or inserted into text that will be sent to them.
.\".sp
.\".nf
.\"$ tabletotbl < journal | tbl | nroff
.\".fi
.SH Notes
The COHERENT system's version of
.B nroff
and
.B troff
do not yet support
.BR tbl .
.SO tabletotbl