EasyManua.ls Logo

Commodore PC - Page 238

Commodore PC
414 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...
166
MS-DOS
User's
Reference
u
Search
Purpose:
i^J
Searches
a
range
of
lines
for
a
string
of
text.
Syntax:
t)
[line]lline][?]stext
Comments:
t)
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
{^J
then
becomes
the
current
line.
Unless
you
type
the
question
mark
(?)
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
(?),
edlin
displays
the
first
line
with
matching
text
and
prompts
you
with
the
message
t
j
"O.K.?".
If
you
press
either
F
(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
w'
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
i
\
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.
u
u

Related product manuals