SOELIMINATE(1) BSD General Commands Manual SOELIMINATE(1)NAME
soeliminate -- interpret .so directive in manpages
SYNOPSIS
soeliminate [-Crtv] [-I dir] [files ...]
DESCRIPTION
soeliminate reads files lines by lines.
If a line starts by: ``.so anotherfile'' it replace the line by processing ``anotherfile''. Otherwise the line is printed to stdout.
-C Compatibility with GNU groff's soelim(1) (does nothing).
-r Compatibility with GNU groff's soelim(1) (does nothing).
-t Compatibility with GNU groff's soelim(1) (does nothing).
-v Compatibility with GNU groff's soelim(1) (does nothing).
-I dir This option specify directories where soeliminate searches for files (both those on the command line and those named in ``.so''
directive.) This options may be specified multiple times. The directories will be searched in the order specified.
The files are always searched first in the current directory.
A file specified with an absolute path will be opened directly without performing a search.
SEE ALSO mandoc(1), soelim(1)BSD November 22, 2014 BSD
Check Out this Related Man Page
SOELIM(1) General Commands Manual SOELIM(1)NAME
soelim - interpret .so requests in groff input
SYNOPSIS
soelim [ -Cv ] [ -Idir ] [ files... ]
It is possible to have whitespace between the -I command line option and its parameter.
DESCRIPTION
soelim reads files and replaces lines of the form
.so file
by the contents of file. It is useful if files included with so need to be preprocessed. Normally, soelim should be invoked with the -s
option of groff.
Note that there must be no whitespace between the leading dot and the two characters `s' and `o'. Otherwise, only groff interprets the .so
request (and soelim ignores it).
OPTIONS -C Recognize .so even when followed by a character other than space or newline.
-Idir This option may be used to specify a directory to search for files (both those on the command line and those named in .so lines).
The current directory is always searched first. This option may be specified more than once, the directories will be searched in
the order specified. No directory search is performed for files specified using an absolute path.
-v Print the version number.
SEE ALSO groff(1)Groff Version 1.18.1 27 June 2001 SOELIM(1)
Hi there,,
I URGENTLY need to know if the Gigabyte GA 8IDML Motherboard is compatible with the Unix BSD. We need to know if we should buy new boards before we can use the product.
Thanking you
Hannelie Bosch:confused: :confused: (1 Reply)
What is the most simple way to search multiple text files in multiple directories for a string then replace it with another string? I have about 300 files that I need to update and I'm just looking for alternatives rather than having to edit each one by hand.
Thanks in advance! (2 Replies)
Hi all,
I am trying to replace a few lines with other lines of all files in a directory which contain those few lines.
say - there are some 10 files in a dir having the same 4 lines as 1.txt at the starting
1.txt
line 1
line 2
line 3
line 4
....................................... (1 Reply)
Hi,
Can anbody please let me know how i can retrieve lines above the line being searched in a file.
I am looking for an error message from a file, if I see that message I want the lines above that message along with this line.
how do we do this.
Please do let me know
An example which i have... (2 Replies)
Hi ,
I have a directory structure as dir and subdirectories and files under it and so on.now I need to find the files which contain the search string under every dir and subdir and replace .
my search string is like
searchstring=/a/b
string to be replaced=/a/c/b
please help.
... (7 Replies)
Hello, I have a directory www with multiple directories. Every directory has site name with .htm, .html, .php files or sub directories with .htm, .php, .html file as example
- www
- sitename 1
- site 1
- sitename 2
- sitename 3
What I'm looking for is a... (7 Replies)
Hi,
I am facing the below problem
I have a list of number to be searched(around 1000) files resideing in multiple directories as i dont know where it resides in. for example
search string is like (abc)123456
please help. very urgent
Thanks a lot
Uma (3 Replies)
Hi all
I'm in need of a command which can replace a specified string with another string - across multiple files within multiple sub-directories (I intend to run it from / )
I've used the following to get a list of the files:
find . | xargs grep <string1>
But that's as far as I've got.... (7 Replies)
Hello
i need little help.
i have 2 files.
first that contains a lot of data and about 2000 lines that i need to replace with new ones. Lets call that line A.
i know exactly how that lines looks.
in second file i have about 2000 lines which contains the line A and line B in same line... (2 Replies)
Hi,
I am trying to monitor alert log of oracle. i am searching based on ORA- error message
if i find the line, i want the 2 to 3 lines before search line and 2 to 3 lines after the searched line.
like for example, oracle has generated ORA7445 errors in the alert log, when i search for that... (18 Replies)
Hi everyone,
I've a requirement to modify an existing line which is common to multiple files. I need to replace that existing line with a new line. I've almost 900 ksh files to edit in the similar fashion in the same directory.
Example:
Existing Line: . $HOME/.eff.env (notice the "." at the... (3 Replies)
Hi,
IBM documentation says the CPU Compatibility Mopde can be changed from th HMC in LPAR properties, but i have no option to change it there, it is only displayed. Anyone?
Regards, firefox111 (6 Replies)
Hi All,
How do i find all the files between two times.
Eg: 26 may 2014 06:00 to 26 may 2014 14:00
mmin and mtime gives for a specific period. we receive hundreds of files input directories and i need to find how many files are received between given specific datetime.
Thanks. (2 Replies)