# This script removes files created by the user doing a calltrace. # if answer is "n" stop the script if the answer is "y" remove all .abbazabba files # Files have .abbazabba extension so when they are removed vital system files will not accidentally be removed # Script written by David M. Hagens # Copyright Airadigm Communication #! /usr/bin/sh echo "Are you sure you want to remove these files" read ANSWER if [ "$ANSWER" = "n" ]; then sleep 1; break; elif [ "$ANSWER" = "y" ]; then rm *.abbazabba; else echo "Bad Option"; echo "Please answer y(yes) or n(no)"; read ANSWER fi