Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

soelim(1) [redhat 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)

Check Out this Related Man Page

SOELIM(1)						      General Commands Manual							 SOELIM(1)

NAME
soelim - interpret .so requests in groff input SYNOPSIS
soelim [ -Crtv ] [ -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 requests). 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. -r Do not add .lf requests (for general use, with non-groff files). -t Don't emit .lf requests but TeX comment lines (starting with `%') giving the current file and line number. -v Print the version number. USAGE
The normal processing sequence of groff is this: input sourced file file | | v v preprocessor -> troff -> postprocessor | v output file That is, files sourced with .so are normally read only by troff (the actual formatter). soelim is not required for troff to source files. If a file to be sourced should also be preprocessed, it must already be read before the input file passes through the preprocessor. This is handled by soelim: input file | v soelim -> preprocessor -> troff -> postprocessor ^ | | v sourced output file file SEE ALSO
groff(1) Groff Version 1.19.2 6 August 2004 SOELIM(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Question: non-recursive find syntax

Hello, I am trying to search a directory for all files matching "G*" without looking in sub-directories "success" and "error". I've searched this forum and found the following syntax, but can't make it work: find . \( ! -name success -prune -name error -prune \) -type f -name "G*" Have... (6 Replies)
Discussion started by: alexkav
6 Replies

2. UNIX for Dummies Questions & Answers

please help urgent

Hi iam tryiing to do two things 1) in a directory i have files like t71,t81,t91....these files have a one line i want to display the name of the files and contents of the file in one file i have written the script for i in * do echo $i >> upd.txt cat $i >> upd.txt done output... (5 Replies)
Discussion started by: mkan
5 Replies

3. Shell Programming and Scripting

rename file with whitespace embedded

Say a directory contains files 1) "file name 1.xxx" 2) "file name2.yyy" 3) etc Using a cshell script, is there a way to (1)search for all files that contain " " in the filename and then (2)rename the files so that you replace the whiitespace " " with a "_". First problem I run into is... (6 Replies)
Discussion started by: orlando47
6 Replies

4. Shell Programming and Scripting

Please Help. Strings in file 1 need to be searched and removed from file 2

Please help. Here is my problem. I have 9000 lines in file a and 500,000 lines in file b. For each line in file a I need to search file b and remove that line. I am currently using the grep -v command and loading the output into a new file. However, because of the size of file b this takes an... (4 Replies)
Discussion started by: mjs3221
4 Replies

5. Shell Programming and Scripting

search through files

Dears, I have a directory that contains many files,name of the file has a speciefied format like: B<date>-time B20080203-1510,B20080203-1520,.....etc these files contains many counters in the following format: <conter name> <counter value> I need to filter these files based on thier... (5 Replies)
Discussion started by: mm00123
5 Replies

6. Shell Programming and Scripting

Count files lines in a directory?

Hy! I have some problem. Problem is that i don't now how to solve problem of average lines of files in a directory. I have managed to get number of files in a directory, but i don't know the command to count average lines of these files. I have one "for" loop that goes true whole... (13 Replies)
Discussion started by: davidoff
13 Replies

7. Shell Programming and Scripting

help on most efficient search

Hello, We have a directory with 15 sub-directories where each sub-directory contains 1.5 to 2 lakhs of files in it. Daily, around 300-500 files will be uploaded to each sub-directory. Now, i need to get the list of files received today in most efficient way. I tried using "find with newer... (16 Replies)
Discussion started by: prvnrk
16 Replies

8. UNIX for Dummies Questions & Answers

Searching a file with exclusion in the search

Hello, I'm looking for a bit of help. Im trying to search a file for lines that contain white spaces at the end of the lines. This is what I'm using where $param is the path and file name and it redirects the output to a txt file : echo | grep -n ' $' $param >> $2 Is it possible to have... (8 Replies)
Discussion started by: gintreach
8 Replies

9. UNIX for Dummies Questions & Answers

How to search by File Name Length

Hi, All - How can I search a directory for files with names over 20 characters in lenght? Thanks in advance! (5 Replies)
Discussion started by: ora_umair
5 Replies

10. Shell Programming and Scripting

search files without a specific text

Hi all, I need UNIX command that would give me all files without the string "4R" anywhere in the file. I have about a hundred files in my directory, and I need to list all files wihtout the string "4R" anywhere. Can anyone help me please? Thank you.l (4 Replies)
Discussion started by: risk_sly
4 Replies

11. UNIX for Dummies Questions & Answers

Help with searching for a file in a directory and copying the contents of that file in a new file

Hi guys, I am a newbie here :wall: I need a script that can search for a file in a directory and copy the contents of that file in a new file. Please help me. :confused: Thanks in advance~ (6 Replies)
Discussion started by: zel2zel
6 Replies

12. UNIX for Dummies Questions & Answers

List directories, subs and files

Hi, I try to list all files in a folder, including all the subdirs (and their subdirs) and all files contained in each of these folders. I then print it to a simple txt file. I use ls -R -1 >test.txt This sort of does what I need, yet, the result is something like: It reasonably comes... (53 Replies)
Discussion started by: dakke
53 Replies

13. Shell Programming and Scripting

How to get lines before and after a searched text?

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)
Discussion started by: bbnl
18 Replies

14. UNIX and Linux Applications

problem with find command

Hi All, I want to search only files more than 60 min in particular directory but not in sub directories. with this command i am getting even sub directires also.Please and let me know how to get the files. $i=`find /home/n1013141/vijay -type f -mmin -60`; print $i; ... (6 Replies)
Discussion started by: bhas1285
6 Replies

15. UNIX for Dummies Questions & Answers

How to search for a file having a particular character in a particular place in a directory.?

Hi Guys, I want to search for a specific file in a directory which have a "b" letter as the 3rd character in the name of the file. For Example : /abc/efg/ldbjfblkj.sh /abc/efg/erublkd.sh /abc/efg/eibueora.sh /abc/efg/kfvnmnb.sh Since we have 2 files with "b" as a 3rd character in... (5 Replies)
Discussion started by: Pramod_009
5 Replies