> >>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. > grep -V GNU grep version 2.0 What may cause the delay is a missing newline. Grep scans for lines that match $TRIGGERS and a line seems to be defined as any number of chars followed by a newline or eof. Now in the pipe there is no eof and if the newline is missing grep will wait until the next line arrives. Dirk
- Re: LOTS of Orbs hits ddb
- Re: LOTS of Orbs hits Russ Allbery
- Qmail Qs Scott D. Yelich
- Re: LOTS of Orbs hits Bruce Guenter
- Re: LOTS of Orbs hits Petr Novotny
- Re: LOTS of Orbs hits ddb
- Re: LOTS of Orbs hits Petr Novotny
- Logfile surveillance (Was: Re: LOTS of Orbs hits) Lorens Kockum
- Re: Logfile surveillance (Was: Re: LOTS of Orbs h... Dave Sill
- Re: Logfile surveillance (Was: Re: LOTS of Or... Lorens Kockum
- Re: Logfile surveillance (Was: Re: LOTS o... Dirk Alboth
- Re: Logfile surveillance (Was: Re: L... Lorens Kockum
- Re: Logfile surveillance (Was: R... Russ Allbery
- Re: Logfile surveillance (Was: R... Peter van Dijk
- Re: LOTS of Orbs hits Paul Schinder
- Re: RRSS, was LOTS of Orbs hits John R. Levine
- Re: LOTS of Orbs hits ddb
