The following command works on cli itself:
someCall prefix.+([[:digit:]]).postfix
But NOT in bash script.
The idea is that I want to give files with names like prefix.1.postfix oder prefix.112.postfix to the program.
What do I have to change in the script?
EDIT: forgot to mention the error it throws:
syntax error near unexpected token `('
EDIT 2:
If I source the bash script with source myScript.sh then it works :-\