.PS 58,78
.LM 10
.RM 75
.AUTOPARAGRAPH
.CENTER
User Manual
.CENTER
GREP V2.00
.SKIP 2
.CENTER
Bruce R.#Mitchell
.CENTER
Machine Intelligence and Industrial Magic
.CENTER
Consultants to the RSX Community
.CENTER
390 North Shore Drive
.CENTER
RR _#1, Box 216
.CENTER
Fountain City, WI###54629
.SKIP
.CENTER
(608) 687-4015
.SKIP 2
.HL 1 Generation
	A generation command file is supplied.  GREP.CMD generates the
task on a majority of M, M-Plus and P/OS systems.  To use this
command file, SET /NONAMED and change into the directory containing the
GREP files.  Then issue @GREP.
	If it is desired to change the multi-big-buffering buffer size,
change the value of BBCT in the source file.  16 is a typical value which
works well.
	Systems preceding decimal version number support or lacking the
FEAT$ directive should comment the definition of R$$FEA in the source
file.  This controls automatic handling of decimal version numbers,
and when commented out forces octal version numbers.
.HL 1 Installation
	The task should be installed for fastest response.  Install it
as any other task.
.HL 1 Command Syntax
	The command syntax is somewhat changed from previous versions
of GREP.  A generalized command line is as follows:
.SKIP 2
GREP [outfile =] infile/SE:"string" [/PO] [/ID] [/LI] [/EX]
.SKIP
	The output file specification (outfile =) is optional.  When
it is not specified, output goes to the invoking terminal.
	The input file specification (infile) is required.  Wildcarded
directories are not permitted.  Wildcards are permitted in the file
specification.
	The search string specifier (/SE:"string") is required.  It may
contain any printing ASCII characters.  Use of a question mark wildcard
matches any single character in the input.
	The pointer switch (/PO) is optional.  When present, it produces
a line underneath the located record with pointers underneath the located
string.
	The ident switch (/ID) is optional.  When present, it produces a
summary of the task's characteristics.
	The line number switch (/LI) is optional.  When present, it produces
output lines prepended with the record number in the input file.
	The exact match switch (/EX) is optional.  When present, it
requires that the input record exactly match the specified search string.
The default is generic search, which is not case sensitive.
.HL 1 Caveats
.HL 2 Prohibited File Types
	To prevent useless and unreadable output from non-text files, GREP
has an internal list of file types it will not search.  These prohibited
file types are:
.SKIP
.LITERAL
CDA - Crash dumps
OBJ - Object files
OLB - Object libraries
STB - Symbol tables
SYS - System images
TSK - Task images
.END LITERAL
	These file types are contained in a Radix-50 table at location
IEXTBL.
.HL 2 Use on Professional P/OS
	The Professional series computers incorporate non-DMA, PIO disk
controllers.  There is no advantage to large multi-buffering factors on
P/OS systems.
