#!/bin/sh
#
# Look for core dumps with various nameing conventions and
# delete them.

cd $HOME
echo Cleaning up core files in `pwd` ...
find . -type f \
	\( -name core -o -name 'core.*' -o -name '*.core' \)\
	-exec ls -lidg {} ';' \
	-exec rm -f {} ';'

#	Why did we do this?
#echo We now start $SHELL ...
#exec $SHELL
