#!/bin/sh
#
# Remove backup files and similar in the current directory, and in all
# subdirectories recursively.    
#

. sh/verbose.sh

clean()
{
    rm -fr *~ Howto.list *.stackdump core .pics .xvpics *.out core.* *.rtl *.combine

    for file in * 
    do
	if [ -d $file ]
	then
	    cd $file
	    echo 1>&4 cd $file
	    clean
	    cd ..
	    echo 1>&4 cd ..
	fi
    done
}

clean
