if test $# -ge 2 then echo "Too many arguments: Usage is: tidy (filename)" elif test $# -eq 0 then rm *.boo *.mas *.plp *.sig *.tpl else rm $1.boo $1.mas $1.plp $1.sig $1.tpl fi