On Thu, Sep 06, 2001 at 06:16:58PM -0500, Nathan E Norman wrote:
> tail -f /var/log/syslog | perl -n -e '`myprog $_` if m/pattern/'
> 
> Note that it's usually safer to use system rather than backticks, but
> as you requested this is a quick one-liner :)

<cough> that'll work too.. i didn't see your post :)

-- 
Adam McDaniel
Infrastructure Technology Consultant
M-Tech Mercury Information Technology, Inc.

Reply via email to