more is a filter for paging through text one screenful at a time
is said in man pages for more
. Is there a way to page through text, but instead of getting to the next page, the procedure will get to the next occurance of a string supplied via a parameter? The first time it will display the first occurance of the string (at the top of the screen) let's say, STRING1
. The next time I press the SPACE bar, the crt
display will show the line of the next occurance of string STRING1
, etc.
Read
man more
.It describes the command line option:
And it also describes the '/' and 'n' interactive commands: