Tandy 1000 MS-DOS Reference Manual page 246

Hide thumbs Also See for 1000 MS-DOS:
Table of Contents

Advertisement

Chapter 10 / EDLIN Command Reference
Search Text (S)
[line
1]
[,line2] [?]S[string]
Searches all lines within the range linel to line2 for each occur-
rence of the text string.
Notes
• You must terminate the string by pressing
I
ENTER \.
• If you omit the question mark
(?),
Search displays the first
line (in the specified range) that matches the string. That
line becomes the current line, and the Search command
terminates.
• If the string does not occur between
linel and line2, Search
displays the message:
Not found
• If you include the question mark, Search displays the first
line that contains the string. It then prompts you with the
message:
O.K.?
If you press either
Y
orl
ENTER
I,
the line becomes the current
line, and the search terminates. If you press any other key,
the search continues until it finds another match or searches
all lines.
• You can omit the linel parameter, by typing the command in
this format: ,line2Sstring
I
ENTER
I.
If you do, the search begins at the line that immediately fol-
lows the current line.
• You can omit the line2 parameter, by typing the command in
this format: linel Sstring
I
ENTER
I
or linel, Sstring
I
ENTER
I
• If you omit the string, Search uses the last search string that
was used in a Replace or Search command. If there is no
search string (no previous search or replace has been done),
the command terminates immediately.
• Search looks for the string exactly as you specify it in the
command. Therefore, enter the string in the same combination
of upper and lowercase characters as it appears in the text.
230
,
,
-.-J
~i
J
I
'
~)
I
'
L.J
,
,
I
'---.J
,
I
'--.J
I
I
I
'---'
,
I
I
~
I
I
I
,
'------'

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents