9070 Remove wanboot from gate
[unleashed.git] / usr / src / man / man1 / tbl.1
blob6d3eb54d3013c1d37ab8554fbac02a4b9c2e6843
1 '\" te
2 .\" Copyright (c) 1994, Sun Microsystems, Inc.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH TBL 1 "Aug 2, 1994"
7 .SH NAME
8 tbl \- format tables for nroff or troff
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fBtbl\fR [\fB-me\fR] [\fB-mm\fR] [\fB-ms\fR] [\fIfilename\fR]...
13 .fi
15 .SH DESCRIPTION
16 .sp
17 .LP
18 \fBtbl\fR is a preprocessor for formatting tables for \fBnroff\fR(1) or
19 \fBtroff\fR(1). The input \fIfilename\fRs are copied to the standard output,
20 except that lines between \fB\&.TS\fR and \fB\&.TE\fR command lines are assumed
21 to describe tables and are reformatted.
22 .sp
23 .LP
24 If no arguments are given, \fBtbl\fR reads the standard input, so \fBtbl\fR may
25 be used as a filter.  When \fBtbl\fR is used with \fBeqn\fR(1) or \fBneqn\fR,
26 the \fBtbl\fR command should be first, to minimize the volume of data passed
27 through pipes.
28 .SH OPTIONS
29 .sp
30 .ne 2
31 .na
32 \fB\fB-me\fR \fR
33 .ad
34 .RS 8n
35 Copy the \fB-me\fR macro package to the front of the output file.
36 .RE
38 .sp
39 .ne 2
40 .na
41 \fB\fB-mm\fR \fR
42 .ad
43 .RS 8n
44 Copy the \fB-mm\fR macro package to the front of the output file.
45 .RE
47 .sp
48 .ne 2
49 .na
50 \fB\fB-ms\fR \fR
51 .ad
52 .RS 8n
53 Copy the \fB-ms\fR macro package to the front of the output file.
54 .RE
56 .SH EXAMPLES
57 .LP
58 \fBExample 1 \fRUsing \fBtbl\fR
59 .sp
60 .LP
61 As an example, letting `\fB@\fR' (at-sign) represent a \fBTAB,\fR which should
62 be typed as an actual \fBTAB\fR character in the input file
64 .sp
65 .in +2
66 .nf
67 \fB\&.TS
68 c s s
69 c c s
70 c c c
71 l n n.
72 Household Population
73 Town@Households
74 @Number@Size
75 Bedminster@789@3.26
76 Bernards Twp.@3087@3.74
77 Bernardsville@2018@3.30
78 Bound Brook@3425@3.04
79 Branchburg@1644@3.49
80 \&.TE\fR
81 .fi
82 .in -2
83 .sp
85 .sp
86 .LP
87 yields
89 .sp
91 .sp
92 .TS
93 l l l
94 l l l .
95 \fBHousehold Population\fR
96 \fBTown\fR      \fBHouseholds\fR
97         \fBNumber\fR    \fBSize\fR
98 \fBBedminster\fR        \fB789\fR       \fB3.26\fR
99 \fBBernards Twp.\fR     \fB3087\fR      \fB3.74\fR
100 \fBBernardsville\fR     \fB2018\fR      \fB3.30\fR
101 \fBBound Brook\fR       \fB3425\fR      \fB3.04\fR
102 \fBBranchburg\fR        \fB1644\fR      \fB3.49\fR
105 .SH FILES
107 .ne 2
109 \fB\fB/usr/share/lib/tmac/e\fR \fR
111 .RS 26n
112 \fB-me\fR macros
116 .ne 2
118 \fB\fB/usr/share/lib/tmac/m\fR \fR
120 .RS 26n
121 \fB-mm\fR macros
125 .ne 2
127 \fB\fB/usr/share/lib/tmac/s\fR \fR
129 .RS 26n
130 \fB-ms\fR macros
133 .SH SEE ALSO
136 \fBeqn\fR(1), \fBnroff\fR(1), \fBtroff\fR(1), \fBattributes\fR(5)