Edlin: S (Search)--Notes
If you omit the line1 parameter, Edlin starts the search on the line after the current line. If you
omit the line2 parameter, Edlin stops the search at the end of the file.
If you omit the string parameter, Edlin uses the more recently used of the following two values: the
value that you specified for string the last time you used the s command, or the value that you specified for string1 the last time you used the r (replace) command during this session. If you omit the string parameter and this is your first use of an s or r command during this session, the s command stops immediately.
Using the ? (question mark)
If you include the ? parameter in your command, Edlin displays the line containing the first
occurrence of the characters specified for string and prompts you with the following confirmation message:
If you press Y (for yes) or press ENTER, the line displayed before the message becomes the current line and the
search stops. If you press N (for no), the search continues until another occurrence is found or until
Edlin displays the following message indicating that all lines have been
More Information About Edlin: S