On Fri, 2003-11-21 at 04:59, Gavin Carr wrote:

Thanks for your reply Gavin,

> > Anyone know what I'm doing wrong?
> 
> Yep, misreading the man page. :-) A pipe can be used to send the output
> to a named pipe/fifo, not direct to an executable. You then can have 
> a program reading from the fifo and doing whatever you want, of course.

Hehe. I did actually read that man page on my system, but I had heard
(or maybe seen) that this could be done directly.

When I went online, I found:
http://www.gsp.com/cgi-bin/man.cgi?section=5&topic=syslog.conf

Which mentions "
A vertical bar ("|"), followed by a command to pipe the selected
messages to. The command is passed to sh(1) for evaluation, so usual
shell metacharacters or input/output redirection can occur."

Is there another version of syslog also called just plain `syslog'?

Mike

-- 
__________________________________________________________________________
Mike MacCana              Consultant            RHCX, MCSE, MCP+I
Cybersource: Providing Quality IT Professional Services for 11 Years
Specialists in Unix/Linux, TCP/IP and Web Application Development
Level 4, 10 Queen St, Melbourne.  Ph : 03 9621 2377 Fax: 03 9621 2477

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to