for i in $* do if test -f $i.exe then rm $i.exe elif test -f $i then rm $i fi done