EasyManua.ls Logo

Commodore PC 20 - Page 304

Commodore PC 20
494 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
1166
MS-DOS User's Reference
(S)earch
Search
Purpose:
Searches a range
of
lines for a string
of
text.
Syntax:
[ line
)[
,line)[? Jstext
Comments:
The
first and second line
options
specify
the
range
of
lines for
edlin
to
search. You
end
the
text
option
by
pressing
the
RETURN
key. Edlin displays
the
first line that matches
the
string; that line
then
becomes
the
current
line. Unless
you
type
the
question mark
0)
option,
the
S
(search)
command
ends
when
it finds the first
match. If
edlin
cannot find a line with a match, it displays
the
message "Not found."
If
you
include
the
question mark
option
0),
edlin
displays
the
first line
with
matching
text
and
prompts
you
with
the
message
"OK?".
If
you press
either
Y (Yes)
or
the
RETURN
key, this line
becomes
the
current
line and
the
search ends.
If
you
press any
other
key,
the
search
continues
until
another
match
is found,
or
until all lines have
been
searched.
(The
search
ends
when
edlin
displays
the
"Not found" message.)
If
you
don't
type
the
first line number,
edlin
defaults
to
the
line
after
the
current
line;
if
you
don't
type
the
second
line number, it
defaults
to
#
(the
line after
the
last line
of
the
file).
If
you
omit
the
text
option,
edlin
uses
the
text
from
the
previous
S
or
R
(replace)
command.
If
this is
the
first S
or
R
command
you
have
used
during
the
current
session, and
you
have
not
specified
a
search
string,
the
S
command
ends immediately.
[
[
[
[
[
[
[
[
[
[
[
[
[
[
[

Table of Contents

Related product manuals