Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tbl(1) — Duplix 5.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

TBL(1)  —  Unix Programmer’s Manual

NAME

tbl − format tables for nroff or troff

SYNOPSIS

tbl [ files ] ... 

DESCRIPTION

tbl is a preprocessor for formatting tables for nroff or troff(1).  The input files are copied to the standard output, except for lines between .TS and .TE command lines, which are assumed to describe tables and are reformatted.  For more information, see the tbl(1) reference manual. 

If no arguments are given, tbl reads the standard input.  This means you can use it as a filter.  When using tbl with eqn or neqn, place the tbl command first to minimize the volume of data passed through pipes. 

EXAMPLE

As an example, letting \t represent a tab (which should be typed as a genuine tab) the input

.TS

c s s
c c s
c c c
l n n.
Household Population
Town\tHouseholds
\tNumber\tSize
Bedminster\t789\t3.26
Bernards Twp.\t3087\t3.74
Bernardsville\t2018\t3.30
Bound Brook\t3425\t3.04
Branchburg\t1644\t3.49
Bridgewater\t7897\t3.81
Far Hills\t240\t3.19
.TE

yields

INTEGRATED SOLUTIONS 4.3 BSD  —  April 29, 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026