tbl(1) — USER COMMANDS
NAME
tbl − format tables for nroff or troff
SYNOPSIS
/usr/ucb/tbl [ −me ] [ −ms ] [ −mm ] [ −TX ] [ filename ] . . .
DESCRIPTION
The tbl command is a preprocessor for formatting tables for nroff or troff. The input filenames are copied to the standard output, except that lines between .TS and .TE command lines are assumed to describe tables and are reformatted.
If no arguments are given, tbl reads the standard input, so tbl may be used as a filter. When tbl is used with eqn or neqn the tbl command should be first, to minimize the volume of data passed through pipes.
The −me option copies the −me macro package to the front of the output file.
The −ms option copies the −ms macro package to the front of the output file.
The −mm option copies the −mm macro package to the front of the output file.
The −TX option produces output that does not have fractional line motions in it.
EXAMPLE
As an example, letting \t represent a TAB (which should be typed as a genuine TAB) the input
.TS
c s s
c c s
c c c
l n n.
Household\tPopulation
Town\tHouseholds
\tNumber\tSize
Bedminster\t789\t3.26
Bernards Twp.\t3087\t3.74
Bernardsville\t2018\t3.30
.TE
yields
| Household Population | ||
| Town | Households | |
| Number | Size | |
| Bedminster | 789 | 3.26 |
| Bernards Twp. | 3087 | 3.74 |
| Bernardsville | 2018 | 3.30 |
SEE ALSO
— BSD Compatibility Package