I am dumping some debug info into a text file that I am using
tail -f to monitor.
Is there a tool that I can then pipe that
tail -f data into to be able to search the text on-screen using regular expression commands, like search in vim?
less on the text file you want to monitor:
If you want to search for a pattern, ues a slash to start a search a pattern:
/<pattern> # forward search ?<pattern> # backward search
If you want to filter the output use an ampersand:
Then start the continuous output using shiftf. You can exit the continuous output display with ctrlc and refine or cancel your filter pattern or start a search.
If you can't find anything else, you could try seetxt, which can monitor and update a loaded file at configurable intervals (1 second granularity), and has PCRE searching.
Unfortunately it does too many other things as well; I wrote it about 5 years ago and it was my first "big" C project; the source is pretty ugly, lol, but it generally works with some caveats that shouldn't affect what you are doing unless the input is very large or contains a lot of odd characters.
That said, it's something I'd think about revamping for exactly this purpose if it's a niche that lacks. I generally just stop/start things and deal with static logs when debugging, but something that streamed input and did regexps is a good idea.