linux – how to ‘grep’ a continuous stream