Disregarding the terminator, the method of "searching the current output" should be to pass the output content to less through a pipe, and use the '/keyword' command in less to search (highlight) the content.
For example, you use the cat command to output an html file and search for 'html' in it:
Disregarding the terminator, the method of "searching the current output" should be to pass the output content to less through a pipe, and use the '/keyword' command in less to search (highlight) the content.
For example, you use the cat command to output an html file and search for 'html' in it:
Then in less:
You will see 'html' highlighted.