Greetings..!
this works,
tail -f /var/log/apache2/access.log | nawk '/192.168.1.100/{ print $0 }'
and this too:
tail -f /var/log/apache2/access.log |awk ' /192.168.1.100/ { system
("mail -s \"This works\" [email protected]")}'
but this below, does not work
tail -f /var/log/apache2/access.log |awk ' /192.168.1.100/ { print
$0 | "mail [email protected] "}'
Any pointers would be much appreciated.
Thx.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"