Hey there,
Just a word of practical advice. If you really "need" a solution and don't have time to wait for someone else to take of their own time to help you with your problem, try doing a search on google for something like:
script to remove extension from filename
and you'll have your answer straight away
Best wishes,
Mike
Linux and Unix Tips, Tricks and Individual Advice -
The Linux and Unix Menagerie!
------------------------------------------------------------------------
The greatest viral marketing idea of all time, get your copy of this
Free Report now!