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