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 .TS and .TE command lines, which are assumed to describe tables and
15 reformatted. Details are given in the reference manual.
16
17 As an example, letting \t represent a tab (which should be typed as a
18 genuine tab) the input
19
20 .TS
21 c s s
22 c c s
23 c c c
24 l n n.
25 Household Population
26 Town\tHouseholds
27 \tNumber\tSize
28 Bedminster\t789\t3.26
29 Bernards Twp.\t3087\t3.74
30 Bernardsville\t2018\t3.30
31 Bound Brook\t3425\t3.04
32 Branchburg\t1644\t3.49
33 Bridgewater\t7897\t3.81
34 Far Hills\t240\t3.19
35 .TE
36
37 yields
38
39
40
41
42 If no arguments are given, tbl reads the standard input, so it may be
43 used as a filter. When it is used with eqn or neqn the tbl command
44 should be first, to minimize the volume of data passed through pipes.
45
47 troff(1), eqn(1)
48 M. E. Lesk, TBL.
49
50
51
52 TBL(1)