Simple Shell Scripting
I have a need to learn how to write shell scripts (among others)on my own. I'm getting there.
At the moment I have the need for a renaming one, but I cant seem to get it right. If anyone could help me, that would be great.
What I need to do is rename file001.foo.bar to file001.bar, and do this for all the files in the directory.
can I do this with basename?
I suppose It could be done in perl too.
help = good.

thanks