CVS check diff in tree

Check a tree for diff's.
/usr/local/bin/cvs_check

#!/bin/sh

patterns=( '?' 'Locally Added' 'Locally Modified' )
cvs -Q status -R . > .cvs_status 2> /dev/null

for i in "${patterns[@]}"; do
        cat .cvs_status  | grep -i "$i"
done
rm .cvs_status
Knowledge keywords: