- format tables for nroff or troff
tbl [-me] [-mm] [-ms] [filename]...
tbl is a preprocessor for formatting tables for nroff(1) or troff(1). 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(1) or neqn, the tbl command should be first, to minimize the volume of data passed through pipes.
Copy the -me macro package to the front of the output file.
Copy the -mm macro package to the front of the output file.
Copy the -ms macro package to the front of the output file.
示例 1 Using tbl
As an example, letting `@' (at-sign) represent a TAB, which should be typed as an actual TAB character in the input file
.TS c s s c c s c c c l n n. Household Population Town@Households @Number@Size Bedminster@email@example.com Bernards Twp.@firstname.lastname@example.org Bernardsville@email@example.com Bound Brook@firstname.lastname@example.org Branchburg@email@example.com .TE
See attributes(5) for descriptions of the following attributes: