Alex Samad wrote: > On Mon, May 11, 2009 at 12:07:18PM -0400, Barclay, Daniel wrote: >> Boyd Stephen Smith Jr. wrote: >>> In <4a01ac7b.4010...@fgm.com>, Barclay, Daniel wrote: >>>> Does Debian have any utility to address the following situation? >>> Not that I know of. >>> >>>> I have some scripts that I run both manually and as cron jobs. The >>>> scripts generate stdout/stderr output reporting what they're doing. >>>> > [snip] > >>>> I started to write a wrapper script to take a command to execute and a >>>> file of regular expressions defining expected output lines ... >> ... ... > > I have a script that checks for ppp session outages through syslog, I > only want to be notified of changes, i save output and then diff it with > new output.
Yeah, that might be a good way to do it too (not having to define as manually what isexpected ). Daniel -- (Plain text sometimes corrupted to HTML "courtesy" of Microsoft Exchange.) [F]