On the qmail list [EMAIL PROTECTED] 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'
>
>I cannot reproduce any delays using "tail -f $FILE | grep $TRIGGERS",
>except for a little delay of about one second.

Errr ... errrrrrrrrrrrrrr ...

Sorry Dave, maybe the problem is with less after all.  Should
know better that to rely on hazy recollections :-) Went back
to my correspondence with 'less' author, and found that my
"internal grep buffer" was an assumption on his part to explain
my problem, which I accepted without checking that that was the
case.

In fact, 'tail -f $FILE | less +F' is no good either.  OK, so
'tail -f $FILE | grep $TRIGGERS', my xterm scrollbar, and a
'less' on the side will suffice until I get the time to patch
'less' to get the feature I want.  Sorry for the off-topic
posts.

-- 
#include <std_disclaim.h>                          Lorens Kockum

Reply via email to