]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.bin/soelim/soelim.1
ifconfig(8): wordsmith -G and -g descriptions
[FreeBSD/FreeBSD.git] / usr.bin / soelim / soelim.1
1 .\" Copyright (c) 2014 Baptiste Daroussin <bapt@FreeBSD.org>
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 .\"
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 .\" SUCH DAMAGE.
24 .\"
25 .Dd November 7, 2015
26 .Dt SOELIM 1
27 .Os
28 .Sh NAME
29 .Nm soelim
30 .Nd interpret .so requests in manpages
31 .Sh SYNOPSIS
32 .Nm
33 .Op Fl Crtv
34 .Op Fl I Ar dir
35 .Op Ar
36 .Sh DESCRIPTION
37 The
38 .Nm
39 utility
40 reads the specified files or the standard input and performs the textual
41 inclusion implied by the
42 .Xr nroff 1 Pq Pa ports/textproc/groff
43 directives of the form:
44 .Pp
45 .Dl \&.so anotherfile
46 .Pp
47 If a line starts with:
48 .Dq .so anotherfile
49 it replaces the line by processing
50 .Dq anotherfile .
51 Otherwise the line is printed to stdout.
52 .Bl -tag -width "-I dir"
53 .It Fl C
54 Recognise
55 .Em .so
56 when it is not followed by a space character.
57 .It Fl r
58 Compatibility with groff's
59 .Xr soelim 1
60 (does nothing).
61 .It Fl t
62 Compatibility with groff's
63 .Xr soelim 1
64 (does nothing).
65 .It Fl v
66 Compatibility with groff's
67 .Xr soelim 1
68 (does nothing).
69 .It Fl I Ar dir
70 This option specifies directories where
71 .Nm
72 searches for files (both those on the command line and those named in
73 .Dq .so
74 directive.)
75 This option may be specified multiple times.
76 The directories will be searched in the order specified.
77 .El
78 .Pp
79 The files are always searched first in the current directory.
80 .Pp
81 A file specified with an absolute path will be opened directly without
82 performing a search.
83 .Sh SEE ALSO
84 .Xr mandoc 1
85 .Sh AUTHORS
86 This version of the
87 .Nm
88 utility was written by
89 .An Baptiste Daroussin Aq Mt bapt@freebsd.org .