cola

tail -f file | grep --line-buffered my_pattern
Confused Caracal