I have a file with extensions:
I have an array containing a list of extensions:
exts=(sh pl py)
I want to remove the extensions in exts from the filename's. Is there a trick to do it, I'm thinking of something of this kind:
It obviously does not work.