2 ms·
It may be a good way to discover what patterns are worth looking for, and then encoding that into a grep. You need grep if you want to keep everything that matc
by kazinator 5y ago
It may be a good way to discover what patterns are worth looking for, and then encoding that into a grep. You need grep if you want to keep everything that matches; no skipping. But the cycle of repeatedly killing "tail -f | grep ..." and then trying different patterns is a little less ergonomic than doing it inside one program. If the input is coming from a pipe directly, trying a different set of grep patterns means killing and restarting the program.