1TBL(1) General Commands Manual TBL(1)
2
3
4
6 tbl - format tables for nroff or troff
7
9 tbl [ files ] ...
10
12 Tbl is a preprocessor for formatting tables for nroff or troff(1). The
13 input files are copied to the standard output, except for lines between
14
15 Details are given in the
16 tbl(1)
17 reference manual.
18
19 EXAMPLE
20 As an example, letting \t represent a tab (which should be typed as a
21 tab) tgheenuiinnpeut
22
23 .TS
24 c s s
25 c c s
26 c c c
27 l n n.
28 Household Population
29 Town\tHouseholds
30 \tNumber\tSize
31 Bedminster\t789\t3.26
32 Bernards Twp.\t3087\t3.74
33 Bernardsville\t2018\t3.30
34 Bound Brook\t3425\t3.04
35 Branchburg\t1644\t3.49
36 Bridgewater\t7897\t3.81
37 Far Hills\t240\t3.19
38 .TE
39
40 yields
41
42
43 Household Population
44 Town Households
45 NumberSize
46 Bedminster 7893.26:
47 Bernards Twp. 30873.74:
48 Bernardsville 20183.30:
49 Bound Brook 34253.04:
50 Branchburg 16443.49:
51 Bridgewater 78973.81:
52 Far Hills 2403.19:
53
54 If no arguments are given, tbl reads the standard input, so it may be
55 used as a filter. When tbl is used with eqn or neqn the tbl command
56 should be first, to minimize the volume of data passed through pipes.
57
59 troff(1), eqn(1)
60 M. E. Lesk, TBL.
61
62
63
647th Edition April 29, 1985 TBL(1)