Was it not simply "Find" ?
https://sites.google.com/site/pcdosr...mands#TOC-FIND
Pasted from the above site:-
___________________________________
FIND
External - DOS 2.0 and above
Searches for a text string in a file or files.
FIND [/V] [/C] [/N] [/I] [/S] "string" [[drive:][path]filename[ ...]]
/V Displays all lines NOT containing the specified string.
/C Displays only the count of lines containing the string.
/N Displays line numbers with the displayed lines.
/I Ignores the case of characters when searching for the string.
/S Search subdirectories also.
"string" Specifies the text string to find.
[drive:][path]filename
Specifies a file or files to search.
If a pathname is not specified, FIND searches the text typed at the prompt
or piped from another command.
/I is only available in DOS 5 and above.
/S is only available in PC DOS 7.
Also PC DOS 7 allows the use of wildcards in filenames while prior versions do not.
_______________________________________