Greetings..!
this works,
Advertising
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\" m...@email.address")}'
but this below, does not work
tail -f /var/log/apache2/access.log |awk ' /192.168.1.100/ { print
$0 | "mail m...@email.address "}'
Any pointers would be much appreciated.
Thx.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"