https://wp.jochen.hayek.name/blog-en/2013/06/07/linux-how-to-grep-a-continuous-stream-stack-overflow/
linux - how to 'grep' a continuous stream