On Fri, Mar 7, 2008 at 5:25 PM, Agnello George <[EMAIL PROTECTED]> wrote:
> if [ $(tail -n 10 /tmp/agnello |grep -e error | wc -l ) = 0 ] ; then You might lots of false alarms because of that. Dont grep for "error" in general. Grep for a more specific expression that is unique to the error you are looking for. [ grep "unique expression" /tmp/agnello ..... Regards, NMK. -- http://mm.glug-bom.org/mailman/listinfo/linuxers

