1*42346787Sreed.\" $NetBSD: soelim.1,v 1.10 2012/05/12 14:52:58 reed Exp $ 25233fb40Sjtc.\" 35233fb40Sjtc.\" Copyright (c) 1980, 1990, 1993 45233fb40Sjtc.\" The Regents of the University of California. All rights reserved. 561f28255Scgd.\" 661f28255Scgd.\" Redistribution and use in source and binary forms, with or without 761f28255Scgd.\" modification, are permitted provided that the following conditions 861f28255Scgd.\" are met: 961f28255Scgd.\" 1. Redistributions of source code must retain the above copyright 1061f28255Scgd.\" notice, this list of conditions and the following disclaimer. 1161f28255Scgd.\" 2. Redistributions in binary form must reproduce the above copyright 1261f28255Scgd.\" notice, this list of conditions and the following disclaimer in the 1361f28255Scgd.\" documentation and/or other materials provided with the distribution. 1489aaa1bbSagc.\" 3. Neither the name of the University nor the names of its contributors 1561f28255Scgd.\" may be used to endorse or promote products derived from this software 1661f28255Scgd.\" without specific prior written permission. 1761f28255Scgd.\" 1861f28255Scgd.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1961f28255Scgd.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2061f28255Scgd.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2161f28255Scgd.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2261f28255Scgd.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2361f28255Scgd.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2461f28255Scgd.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2561f28255Scgd.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2661f28255Scgd.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2761f28255Scgd.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2861f28255Scgd.\" SUCH DAMAGE. 2961f28255Scgd.\" 305233fb40Sjtc.\" @(#)soelim.1 8.1 (Berkeley) 6/6/93 3161f28255Scgd.\" 325233fb40Sjtc.Dd June 6, 1993 3361f28255Scgd.Dt SOELIM 1 349e44e9b5Sgarbled.Os 3561f28255Scgd.Sh NAME 3661f28255Scgd.Nm soelim 37dafcaac4Swiz.Nd eliminate .so's from nroff input 3861f28255Scgd.Sh SYNOPSIS 398976f097Slukem.Nm 40b1d0822bSchristos.Op Fl I Ar directory 4161f28255Scgd.Op Ar file ... 4261f28255Scgd.Sh DESCRIPTION 438976f097Slukem.Nm 4461f28255Scgdreads the specified files or the standard input and performs the textual 4561f28255Scgdinclusion implied by the 4661f28255Scgd.Xr nroff 1 4761f28255Scgddirectives of the form: 4861f28255Scgd.Pp 4961f28255Scgd.Dl \&.so somefile 5061f28255Scgd.Pp 5161f28255ScgdThe directives need to appear at the beginning of input lines. 5261f28255ScgdThis is useful since programs such as 5361f28255Scgd.Xr tbl 1 5461f28255Scgddo not normally do this; it allows the placement of individual tables 5561f28255Scgdin separate files to be run as a part of a large document. 5661f28255Scgd.Pp 5761f28255ScgdAn argument consisting of a single minus 5861f28255Scgd.Ql Fl 5961f28255Scgdis taken to be 6061f28255Scgda file name corresponding to the standard input. 6161f28255Scgd.Pp 6261f28255ScgdNote that inclusion can be suppressed by using 6361f28255Scgd.Ql \e' 6461f28255Scgdinstead of 6561f28255Scgd.Ql \e. , 6661f28255Scgdi.e. 6761f28255Scgd.Pp 6861f28255Scgd.Dl \'so /usr/lib/tmac.s 6961f28255Scgd.Pp 7061f28255ScgdA sample usage of 718976f097Slukem.Nm 7261f28255Scgdwould be 7361f28255Scgd.Pp 7461f28255Scgd.Bd -literal -offset indent -compact 7561f28255Scgdsoelim exum?.n \&| tbl \&| nroff \-ms \&| col \&| lpr 7661f28255Scgd.Ed 77b1d0822bSchristos.Pp 78b1d0822bSchristosThe options are as follows: 79b1d0822bSchristos.Bl -tag -width indent 80b1d0822bSchristos.It Fl I 81b1d0822bSchristosAdd the specified directory to the search path for input files. 82b1d0822bSchristos.El 8361f28255Scgd.Sh SEE ALSO 8461f28255Scgd.Xr colcrt 1 , 8561f28255Scgd.Xr more 1 8661f28255Scgd.Sh HISTORY 8761f28255ScgdThe 8861f28255Scgd.Nm 8961f28255Scgdcommand appeared in 90*42346787Sreed.Bx 1 . 91d6fd8384Swiz.Sh BUGS 92d6fd8384SwizThe format of the source commands must involve no strangeness \- 93d6fd8384Swizexactly one blank must precede and no blanks follow the file name. 94