* Thorsten Gunkel <[EMAIL PROTECTED]> [2005-09-25 03:26]: > Hi, > my beep man-page has this paragraph: > > ,---- > | As part of a log-watching pipeline > | > | tail -f /var/log/xferlog | grep 'passwd' | beep -f 1000 -r 5 -s > `---- > > However that does not work until I remove the -f from the tail command (but > this is pointless because then you aren't watching the file any longer) or > if I remove the grep (which is probably also no solution in most cases).
I see... From the link you sent it seems like grep should use some unbuffered output switch. Can you try if adding --line-buffered as option to grep solves the problem? If so I'll update the manpage accordingly. Works for me if I use --line-buffered with grep. > This has already been discussed here: > http://lists.debian.org/debian-isp/2001/05/msg00003.html I see. So they haven't read the grep manpage. :) So long, and thanks for the hint. Alfie -- Immerhin meint die Filmförderungsanstalt, im Jahr 2002 seien 59 Millionen CD-Rohlinge von 5,9 Millionen Nutzern mit Filmen bespielt worden, im Durchschnitt also zwölf Rohlinge pro Anwender. -- <http://www.heise.de/newsticker/data/see-08.04.03-000/>
signature.asc
Description: Digital signature

