log wiever
Tommy Reynolds
Tommy.Reynolds at MegaCoder.com
Thu Feb 12 16:59:30 UTC 2004
Uttered Alexander Dalloz <alexander.dalloz at uni-bielefeld.de>, spake thus:
> tail -f $LOGFILE | grep "$EXPRESSION"
>
> This does not work, you can't combine tail -f and grep.
Sure you can. However, grep(1) is buffering the line, so you may be
being fooled. Turn this off by using:
tail -f $LOGFILE | grep --line-buffered "$EXPRESSION"
No huhu.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040212/da46cf2a/attachment-0001.sig>
More information about the fedora-list
mailing list