From a linux terminal the command:
ls application/js/{a*,b*,c*,d*,e.pocket-secure}
Will list all files in the application/js directory that start with a,b,c,d or e.pocket-secure.
If I place that command in doit.sh and execute:
sh doit.sh
I get:
ls: cannot access application/js/{a*,b*,c*,d*,e.pocket-secure*}: No such file or directory
I think the {} is confusing the shell interpreter, but I tried quoting (single|double) and also tried escaping the {} to no avail.