soelim: import from Plan9

Add entry in lib/moveplan9.files to trigger
relocation during INSTALL.
This commit is contained in:
sean 2020-01-15 08:28:14 +00:00 committed by Dan Cross
parent 5c06214952
commit 40685d24d8
3 changed files with 47 additions and 0 deletions

30
man/man1/soelim.1 Executable file
View file

@ -0,0 +1,30 @@
.TH SOELIM 1
.\" .so in the NAME line confuses the ptx machinery; sorry
.SH NAME
soelim \- preprocess so inclusion commands in troff input
.SH SYNOPSIS
.B soelim
[
.I files ...
]
.SH DESCRIPTION
.I Soelim
reads the specified files or the standard input and performs
the textual inclusion implied by
.IR troff (1)
directives of the form
.sp
.ti +2m
.B "\&.so some_file
.sp
when they appear at the beginning of input lines. This is useful when
using programs such as
.IR tbl (1)
that do not normally do this, allowing
placement of individual tables or other text objects in separate files
to be run as a part of a large document.
.SH SOURCE
.B /rc/bin/soelim
.SH "SEE ALSO"
.IR deroff (1),
.IR troff (1)