UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: sleepChapter 2
UNIX Commands
Next: Reference: sort
 

soelim

/usr/ucb/soelim [files]

A preprocessor that reads nroff/troff input files, resolving and then eliminating .so requests. That is, input lines such as

.so header

are replaced by the contents of the file header. Normally, .so requests are resolved by nroff or troff. Use soelim whenever you are preprocessing the input (e.g., passing it through tbl or sed) and the complete text is needed prior to formatting.

Example

Run a sed script on (all) input before formatting:

soelim file | sed -e 's/--/\\(em/' | nroff | lp


Previous: Reference: sleepUNIX in a Nutshell: System V EditionNext: Reference: sort
Reference: sleepBook IndexReference: sort

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System