Is that possible to use grep on a continuous stream?
grep
What I mean is sort of a tail -f command, but with grep on t
tail -f
I think that your problem is that grep uses some output buffering. Try
tail -f file | stdbuf -o0 grep my_pattern
it will set output buffering mode of grep to unbuffered.