MAN Solaris - tbl (1)

advertisement


NAME

tbl - format tables for nroff or troff

CONTENTS

Synopsis
Description
Options
Examples
Files
Attributes
See Also

SYNOPSIS

tbl [-me] [-mm] [-ms] [filename]...

advertisements

advertisements


DESCRIPTION

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.

OPTIONS

-me

Copy the -me macro package to the front of the output file.

-mm

Copy the -mm macro package to the front of the output file.

-ms

Copy the -ms macro package to the front of the output file.

EXAMPLES

Example 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
[email protected]
@[email protected]
[email protected]@3.26
Bernards [email protected]@3.74
[email protected]@3.30
Bound [email protected]@3.04
[email protected]@3.49
.TE

yields

Household Population  
TownHouseholds 

FILES

/usr/share/lib/tmac/e

-me macros

/usr/share/lib/tmac/m

-mm macros

/usr/share/lib/tmac/s

-ms macros

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWdoc

SEE ALSO

eqn(1), nroff(1), troff(1), attributes(5)

Jump to page    or go to Top of page |  Section 1 |  Main Solaris Index.


SunOS 5.11 tbl (1) 2 Aug 1994
Generated by Open Solaris Forum from /usr/share/man/man1/tbl.1 using man macros with tbl support.