Commit | Line | Data |
---|---|---|
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 |
19 | reads the specified files or the standard input and performs the textual |
20 | inclusion implied by the | |
e2b53ccf CL |
21 | .Xr nroff 1 |
22 | directives of the form: | |
23 | .Pp | |
24 | .Dl \&.so somefile | |
25 | .Pp | |
26 | The directives need to appear at the beginning of input lines. | |
181875c3 | 27 | This is useful since programs such as |
e2b53ccf | 28 | .Xr tbl 1 |
f0a4317e | 29 | do not normally do this; it allows the placement of individual tables |
181875c3 | 30 | in separate files to be run as a part of a large document. |
e2b53ccf | 31 | .Pp |
f0a4317e | 32 | An argument consisting of a single minus |
e2b53ccf | 33 | .Ql Fl |
f0a4317e KM |
34 | is taken to be |
35 | a file name corresponding to the standard input. | |
e2b53ccf CL |
36 | .Pp |
37 | Note that inclusion can be suppressed by using | |
38 | .Ql \e' | |
39 | instead of | |
40 | .Ql \e. , | |
41 | i.e. | |
42 | .Pp | |
43 | .Dl \'so /usr/lib/tmac.s | |
44 | .Pp | |
181875c3 | 45 | A sample usage of |
e2b53ccf | 46 | .Nm soelim |
181875c3 | 47 | would be |
e2b53ccf CL |
48 | .Pp |
49 | .Bd -literal -offset indent -compact | |
50 | soelim 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 | 56 | The format of the source commands must involve no strangeness \- |
f0a4317e | 57 | exactly one blank must precede and no blanks follow the file name. |
e2b53ccf CL |
58 | .Sh HISTORY |
59 | The | |
60 | .Nm | |
61 | command appeared in | |
62 | .Bx 3.0 . |