#! /bin/bash
MATCHFILE=testlines.txt
if [ "$#" -ne 0 ]; then
    MATCHFILE="$1"
fi
echo "Regular line matcher for the file $MATCHFILE"
echo
echo "**** GREP1 test **** -- two or more deed"
grep -E a "$MATCHFILE"
echo
echo "**** GREP2 test **** -- end with deed"
grep -E z "$MATCHFILE"
echo
echo "**** GREP3 test **** -- i, o, and u at least once"
grep -E REGEXP3HERE "$MATCHFILE"
echo
echo "**** GREP4 test **** -- exactly two e"
grep -E REGEXP4HERE "$MATCHFILE"
