Is there any way to get "most" to display a filtered version of the file contents when in tail mode?
For example, I'd like to view a growing log file with certain lines being ignored. I'd like to be able to force the non-display of those ignored lines via regular expressions.
For example, suppose the following types of lines are appearing in an ever-growing log file ...
...
Item 1 - running program xyz
Item 2 - program xyz failed
Item 3 - running program abc
Item 4 - running program def
Item 5 - program abc succeeded
Item 6 - program def failed
...
And suppose that I can specify something like the following regex:
ignore = /^.*running program.*$/
I would then just like to see lines like the following appearing in the output of "most" when running in tail mode ...
...
Item 2 - program xyz failed
Item 5 - program abc succeeded
Item 6 - program def failed
...
Is there any way to get "most" to behave this way?
Is there any way to get "most" to display a filtered version of the file contents when in tail mode?
For example, I'd like to view a growing log file with certain lines being ignored. I'd like to be able to force the non-display of those ignored lines via regular expressions.
For example, suppose the following types of lines are appearing in an ever-growing log file ...
And suppose that I can specify something like the following regex:
ignore = /^.*running program.*$/I would then just like to see lines like the following appearing in the output of "most" when running in tail mode ...
Is there any way to get "most" to behave this way?