xref: /illumos-gate/usr/src/man/man1/soelim.1 (revision 43f863f959a7ec8a6ee3645d33997561ff808c39)
te
Copyright (c) 1992, Sun Microsystems, Inc.
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.
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.
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]
SOELIM 1 "Sep 14, 1992"
NAME
soelim - resolve and eliminate .so requests from nroff or troff input
SYNOPSIS

soelim [filename]...
DESCRIPTION

soelim reads the specified files or the standard input and performs the textual inclusion implied by the nroff(1) directives of the form:

.so somefile

when they appear at the beginning of input lines.

This is useful as programs such as tbl(1) do not normally do this. It allows the placement of individual tables in separate files to be run as a part of a large document.

An argument consisting of - is taken to be a file name corresponding to the standard input.

Inclusion can be suppressed by using a single quote (') instead of a dot (.) that is,

 ' so /usr/share/lib/tmac/tmac.s
EXAMPLES

Example 1 Using the soelim Command

The following is an example of the soelim command:

example% soelim exum?.n | tbl | nroff -ms | col | lpr
SEE ALSO

more (1), nroff (1), tbl (1), attributes (7)