Hi *!

Since upgrading from Slack 2xxx to Debian 1.1 the following
construction doesn't work any more :-(

adson$ cat > test << EOF
>A 1
>B 1
>C 1
>EOF

adson$ tail -f test | awk '$1 =="B"'

There should be the output "B 1" on stdout now, but nothing
happens. It works if I don't use the f-switch, but this is not what I
need.

Any hints?!

Bye,
Markus.

P.S.: I tried both mawk and gawk.

P.P.S.: The lines above are only an example to illustrate my
problem. I would like to use this construction to react on certain
patterns in log-files (e.g. connection to my provider is up/down
etc.) [tail -n 0 -f /var/log/messages | awk -f foo.awk].
--
 Markus Hoevekamp                  Am Berg Fidel 94, D-48153 Muenster
 [EMAIL PROTECTED]     Phone +49 251 7636633, Fax +49 251 7636634
                             http://www.westfalen.de/private/adson/mh

Reply via email to