|
|
/usr/ucb/tbl [-me] [-ms] [-TX] [file] . . .
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.
Input
.TS tab(:); c s s c c s c c c l n n. Household Population Town:Households :Number:Size Bedminster:789:3.26 Bernards Twp.:3087:3.74 Bernardsville:2018:3.30 .TE
Output
Household Population
Town Households
Number Size
Bedminster 789 3.26
Bernards Twp. 3087 3.74
Bernardsville 2018 3.30
To include a block of text as a data entry, precede it by T{ and follow it by T} as in the following example:
Input
.TS
allbox tab(:);
c s s
c c c
l lw(1.5i) lw(1.5i).
New York Area Rocks
Era:Formation:Age (years)
Mesozoic:T{
Newark Basin, including
Stockton, Lockatong, and
Brunswick formations; also
Watchungs and Palisades
T}:200 million
Cenozoic:Coastal Plain:T{
On Long Island 30,000 years;
Cretaceous sediments redeposited
by recent glaciation
T}
.TE
Output
+---------------------------------------------+ | New York Area Rocks | +---------+-----------------+-----------------+ | Era | Formation | Age (years) | +---------+-----------------+-----------------+ |Mesozoic | Newark Basin, | 200 million | | | including | | | | Stockton, | | | | Lockatong, and | | | | Brunswick | | | | formations; | | | | also Watchungs | | | | and Palisades | | +---------+-----------------+-----------------+ |Cenozoic | Coastal Plain | On Long Island | | | | 30,000 years; | | | | Cretaceous | | | | sediments | | | | redeposited by | | | | recent | | | | glaciation | +---------+-----------------+-----------------+