fix exit change; major whitespace cleanup
[unix-history] / usr / src / usr.bin / soelim / soelim.1
CommitLineData
e2b53ccf 1.\" Copyright (c) 1980, 1990 The Regents of the University of California.
297a0a40 2.\" All rights reserved.
181875c3 3.\"
e2b53ccf 4.\" %sccs.include.redist.man%
297a0a40 5.\"
e2b53ccf 6.\" @(#)soelim.1 6.4 (Berkeley) %G%
181875c3 7.\"
e2b53ccf
CL
8.Dd
9.Dt SOELIM 1
10.Os BSD 3
11.Sh NAME
12.Nm soelim
13.Nd eliminate \&.so's from nroff input
14.Sh SYNOPSIS
15.Nm soelim
16.Op Ar file ...
17.Sh DESCRIPTION
18.Nm Soelim
181875c3
KM
19reads the specified files or the standard input and performs the textual
20inclusion implied by the
e2b53ccf
CL
21.Xr nroff 1
22directives of the form:
23.Pp
24.Dl \&.so somefile
25.Pp
26The directives need to appear at the beginning of input lines.
181875c3 27This is useful since programs such as
e2b53ccf 28.Xr tbl 1
f0a4317e 29do not normally do this; it allows the placement of individual tables
181875c3 30in separate files to be run as a part of a large document.
e2b53ccf 31.Pp
f0a4317e 32An argument consisting of a single minus
e2b53ccf 33.Ql Fl
f0a4317e
KM
34is taken to be
35a file name corresponding to the standard input.
e2b53ccf
CL
36.Pp
37Note that inclusion can be suppressed by using
38.Ql \e'
39instead of
40.Ql \e. ,
41i.e.
42.Pp
43.Dl \'so /usr/lib/tmac.s
44.Pp
181875c3 45A sample usage of
e2b53ccf 46.Nm soelim
181875c3 47would be
e2b53ccf
CL
48.Pp
49.Bd -literal -offset indent -compact
50soelim exum?.n \&| tbl \&| nroff \-ms \&| col \&| lpr
51.Ed
52.Sh SEE ALSO
53.Xr colcrt 1 ,
54.Xr more 1
55.Sh BUGS
181875c3 56The format of the source commands must involve no strangeness \-
f0a4317e 57exactly one blank must precede and no blanks follow the file name.
e2b53ccf
CL
58.Sh HISTORY
59The
60.Nm
61command appeared in
62.Bx 3.0 .