No probs, glad to be able to help.
I have found that the script will delete files with unusual characters in the filename where rm on its own just doesn't work.
For some reason, our system had some files that had very long binary-style filenames that had been left by a previous programmer. This meant that any attempt to ls files in the directory resulted in the screen being locked and a stty intr "" ^J command had to be used to get out of it. The filenames contained invisible control characters and I couldn't copy and paste them to delete the files, but the script dealt with them.
You have to be very careful when deleting files in Unix, especially under / , but also in other places. The only safe place to delete files willy-nilly is in user-created directories.