4 # Usage : rfind dir suffix ...
6 # find all files *suffix in dir in a recursive way
7 # different of the usual command find ...
10 if test $# != 2 ; then
11 echo "Usage : $0 dir suffix"
16 # if the first argument is not a directory, returns
17 if test ! -d $1 ; then
18 # echo "$1 is not a directory"
21 # dont look in the CVS directories
22 # dont look in the autom4te* directories
25 */autom4te*) return ;;
28 # for each regular file contained in the directory
29 # test if it's a *"$2" file
39 # for each subdirectory of the first argument, proceeds recursively