Re: how to parse oncheck output?
Posted in 1998
On Wed, 1 Apr 1998 23:23:43 +0100, David Williams
<djw@smooth1.demon.co.uk> wrote:
>In article <35226b6a.35944921@gate.idg.no>, Nils Myklebust
><Nils.Myklebust@nmdata.com> writes
>>This is one of the better questions asked at c.d.i. lately.
>>I wish someone would take it up and at least say what they do with the
>>output from the oncheck commands. I am getting rather bored from
>>looking at them and have a hard time makeing others do it.
>>Particularly at customer sites it seems quite stupid to have to tell
>>them to look at all this garbage coming out of the commands to no
>>avail.
>>
> Check out the -q (quiet) option! It is in 7.x!!
Your great. It's actually an RTFM that I had overlooked. It solves all
problems. Now we can simply redirect the output and if there is
anything at all in the resulting file we can mail that. If the file is
empty no error was found.
Nils Myklebust
NM Data AS
Norway
E-mail: Nils.Myklebust@nmdata.com
FAQ at: Primary with ODBC info: http://www.smooth1.demon.co.uk
Official site http://www.iiug.org/techinfo/faq/faq_top.html