HP-UX Reference (11i v1 05/09) - 1 User Commands N-Z (vol 2)

t
tbl(1) tbl(1)
is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of
LANG
.If
any internationalization variable contains an invalid setting,
tbl behaves as if all internationaliza-
tion variables are set to "C". See environ(5).
International Code Set Support
Single- and multi-byte character code sets are supported.
EXAMPLES
If we redefine the tab character to a semicolon, then the input:
.TS
center box tab(;) ;
cB s s
cI | cI s
^|cc
l|nn.
Household Population
_
Town;Households
;Number;Size
=
Bedminster;789;3.26
Bernards Twp.;3087;3.74
Bernardsville;2018;3.30
Bound Brook;3425;3.04
Bridgewater;7897;3.81
Far Hills;240;3.19
.TE
yields:
Household Population
Households
Town
Number Size
Bedminster 789 3.26
Bernards Twp. 3087 3.74
Bernardsville 2018 3.30
Bound Brook 3425 3.04
Bridgewater 7897 3.81
Far Hills 240 3.19
The tbl command is used most often with nroff and col (see col(1)). A common usage is:
tbl filename | nroff -mmacro_package_name
| col
WARNINGS
See WARNINGS under nroff(1).
SEE ALSO
col(1), mm(1), neqn(1), nroff(1), soelim(1), mm(5).
Section 1962 Hewlett-Packard Company 2 HP-UX 11i Version 1: September 2005