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://lists.fedoraproject.org/pipermail/users/attachments/20040212/da46cf2a/attachment-0002.bin
More information about the users
mailing list