Spooler Utilities Reference Manual

Peruse
Spooler Utilities Reference Manual522295-003
3-19
FIND Command
FIND Command
The FIND command locates an occurrence of a specified string in the current job and
prints the line containing the string. If there is no current job, then the job most recently
spooled becomes the current job.
B[OTH]
specifies that the FIND command should find and display both uppercase and
lowercase occurrences of string.
string
is a set of printable ASCII characters set off by two identical separators. You can
use quotation marks ("), apostrophes ('), or slashes(/) as separators, but actually
any ASCII character can act as the boundary for a string.
Peruse scans the current job, starting at the beginning of the file, for an occurrence
of the specified string.
If no string is specified, then Peruse scans the current job for the last string
given, starting from where the last occurrence of the string was found.
start-position
is the page number from which to begin the search. start-position can be
specified as
[ F | L | * | number ] [ offset ]
If an offset is specified, it is added to or subtracted from the base (F, L, or *) to
define the page.
Peruse supports a page range of 0 through 999,999. If the offset page number
accessed is a negative number or greater than 999,999, Peruse returns an error
message.
F[IND] [ B[OTH] ] [ / string / ] [ start-position ]
F is the first page of the job.
L is the last page of the job.
* is the current page of the job.
number is a page number.
offset is specified as [ + number | - number ]