[syslog-ng]program trouble

Robert Andersson robert@ling.gu.se
Mon, 22 Jan 2001 11:25:27 +0100


>>>>> "you" == Balazs Scheidler <bazsi@balabit.hu> writes:
you> The program destination runs the program once, and keeps it
you> running. You should read messages line by line like this:

you> #!/bin/sh
you> while read line; do
you> 	echo $line | mail -s "log alert"
you> done

thanks for everybodies' quick replies! and for my defense -- doh, i
must have been to tired... ;)

Yours,
/Robert

-- 
Computational Linguistics
Department of Linguistics
Göteborg University