#!/bin/sh # ctxtQuery1.ck result=`grep "ok? 1" ctxtQuery1.out 2>/dev/null` if [ "$result" = "" ]; then return 1 else return 0 fi