# rgrep - recursive "grep"

if [ $# -ne 1 ]
then
    echo "usage: rgrep pattern"
    exit 1
fi

find . -type f -print | xargs grep "$1"

# Use the following command, if no "xargs" is available:
# find . -type f -exec grep "$1" {} \;
