Intel AEDIT-86 Life Jacket User Manual


 
FAlitiag
Commands
AEDIT -86 User's Guide
3-8
3.10
FIND
Command
The
FIND
command searches forward from the current cursor position to the end of
the file for a string
of
characters and positions the cursor after the next occurrence
of
the string.
3.10.1 Description
Press F; AEDIT-86
prompts-
<HOME)
to
re-edlt
F 1 n d { mode} H targeLstring
II
The last target string
(if
any) is displayed within quotes. mode refers to the
SET
options currently
in
effect that may influence the
FIND
command.
Note that pressing
<
RETURN)
when specifying a target string inserts a carriage
return/line feed into the target string and adds the
RETURN
symbol,
(nl),
to the
prompt line.
You
must press
(ESC)
to complete the string specification and execute
the
FIND
command.
The
cursor is placed immediately after the next occurrence
of
the target string.
If
the
string
is
not found, the message "not found: "target string" "
is
displayed in the
message line and the
FIND
command
is
marked as failed.
The
following attributes affect operation of the
FIND
command:
Case - consider case of Find target
Showfind - list lines or multiple finds
K_token - find only token strings
Case, Showfind, and K_token refer to features set using the
SET command, which
is
described later
in
this chapter.
Case refers to upper- or lowercase letters.
If
Case
is
no, upper- and lowercase letters
are equivalent.
If
Showfind
is
yes, each line that contains the target string
is
displayed.
The Token is the argument between delimiters. Token characters are all characters
that
are not delimiters. For example, if you want to find the word is
in
the preceding
paragraph, but not the
is
in
displayed.
If
SET K_token
is
yes, each occurrence of the
word
is
is
found because it is enclosed
in
delimiters.
The
string
-{
mode}
contains an abbreviation for the. features, Case (Cs), Token
(Tk), and Showfind
(Sh). The abbreviation
is
displayed only if the specified feature
is set to yes.
If
more than one feature
is
yes, the features are separated by a blank.
The
following are examples
of
mode:
FIND
-{
Cs}
" ... "
FIND
-{
Tk
Sh}
" "
FIND
-{
} ..... "
Consider case =
yes
Token and Showfind =
yes
No
option
is
set
To
abort a (-
)FIND
command, press
(CTRL-C).
The
message "found:
count"
is
displayed when the command
is
complete.