[EMAIL PROTECTED] (Lorens Kockum) wrote:
>
>Does anyone know of a way to monitor a file for occurences of
>certain words?  I tried 'tail -f $FILE | grep $TRIGGERS | less +F'

Leave off the "| less +F".

>but there seems to be a stdin/stdout buffer in grep that delays
>the flow, so that the offending lines are only displayed after
>there has been a lot of them :-(

"less" is a pager. It won't display less than a page unless it hits
EOF.

-Dave

Reply via email to