Commit | Line | Data |
---|---|---|
33311c3b WJ |
1 | .\" Copyright (c) 1980, 1990 The Regents of the University of California. |
2 | .\" All rights reserved. | |
3 | .\" | |
4 | .\" Redistribution and use in source and binary forms, with or without | |
5 | .\" modification, are permitted provided that the following conditions | |
6 | .\" are met: | |
7 | .\" 1. Redistributions of source code must retain the above copyright | |
8 | .\" notice, this list of conditions and the following disclaimer. | |
9 | .\" 2. Redistributions in binary form must reproduce the above copyright | |
10 | .\" notice, this list of conditions and the following disclaimer in the | |
11 | .\" documentation and/or other materials provided with the distribution. | |
12 | .\" 3. All advertising materials mentioning features or use of this software | |
13 | .\" must display the following acknowledgement: | |
14 | .\" This product includes software developed by the University of | |
15 | .\" California, Berkeley and its contributors. | |
16 | .\" 4. Neither the name of the University nor the names of its contributors | |
17 | .\" may be used to endorse or promote products derived from this software | |
18 | .\" without specific prior written permission. | |
19 | .\" | |
20 | .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | |
21 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
22 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
23 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | |
24 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
25 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |
26 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
27 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
28 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |
29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |
30 | .\" SUCH DAMAGE. | |
31 | .\" | |
32 | .\" @(#)soelim.1 6.4 (Berkeley) 4/22/91 | |
33 | .\" | |
34 | .Dd April 22, 1991 | |
35 | .Dt SOELIM 1 | |
36 | .Os BSD 3 | |
37 | .Sh NAME | |
38 | .Nm soelim | |
39 | .Nd eliminate \&.so's from nroff input | |
40 | .Sh SYNOPSIS | |
41 | .Nm soelim | |
42 | .Op Ar file ... | |
43 | .Sh DESCRIPTION | |
44 | .Nm Soelim | |
45 | reads the specified files or the standard input and performs the textual | |
46 | inclusion implied by the | |
47 | .Xr nroff 1 | |
48 | directives of the form: | |
49 | .Pp | |
50 | .Dl \&.so somefile | |
51 | .Pp | |
52 | The directives need to appear at the beginning of input lines. | |
53 | This is useful since programs such as | |
54 | .Xr tbl 1 | |
55 | do not normally do this; it allows the placement of individual tables | |
56 | in separate files to be run as a part of a large document. | |
57 | .Pp | |
58 | An argument consisting of a single minus | |
59 | .Ql Fl | |
60 | is taken to be | |
61 | a file name corresponding to the standard input. | |
62 | .Pp | |
63 | Note that inclusion can be suppressed by using | |
64 | .Ql \e' | |
65 | instead of | |
66 | .Ql \e. , | |
67 | i.e. | |
68 | .Pp | |
69 | .Dl \'so /usr/lib/tmac.s | |
70 | .Pp | |
71 | A sample usage of | |
72 | .Nm soelim | |
73 | would be | |
74 | .Pp | |
75 | .Bd -literal -offset indent -compact | |
76 | soelim exum?.n \&| tbl \&| nroff \-ms \&| col \&| lpr | |
77 | .Ed | |
78 | .Sh SEE ALSO | |
79 | .Xr colcrt 1 , | |
80 | .Xr more 1 | |
81 | .Sh BUGS | |
82 | The format of the source commands must involve no strangeness \- | |
83 | exactly one blank must precede and no blanks follow the file name. | |
84 | .Sh HISTORY | |
85 | The | |
86 | .Nm | |
87 | command appeared in | |
88 | .Bx 3.0 . |