if [ $# -ne 2 ]; then echo "Usage: $0 match_text filename" exit 1fimatch_text=$1filename=$2grep -q "$match_text" $filename