Probs with 'tail -f foo | awk ...'
Since upgrading from Slack 2xxx to Debian 1.1 the following
construction doesn't work any more :-(
adson$ cat > test << 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
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
firstname.lastname@example.org Phone +49 251 7636633, Fax +49 251 7636634