
tail | grep | grep | grep
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
In what way does that not work?
Since the output of the first grep is not to a terminal, it will be
buffered. The second grep won't see anything until there is enough
in the buffer (maybe something like 1K or so of output). The effect
is that there may be long periods with no output from the final
stage, followed by a whole bunch of lines.
That just increases the number of buffering layers.
It will be more responsive to use
tail -f messages | egrep -v 'assist|cron'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (SunOS)
iD8DBQFALkCevmGe70vHPUMRAhL2AKCIVZVgXFltJxYAyaw3gCUI0bsHDACgsDr+
zeiqEv9xi+31T9RF0MHn18Q=
=kGKK
-----END PGP SIGNATURE-----