Say for example I have the following files in my working directory: mjk0001.fits, mjk0002.fits, ... numerically increasing all the way to mjk9999.fits.
Is there a way to use UNIX wildcards to list or operate on a sequential group of them? For example, if I need to run a process on 0025 through 0050, what format would I use?
I have tried the following but have had no success:
ls *[25-50].fits ls mjk00[25-50].fits ls mjk[0025-0050]* ls *[0025-0050]*
Thanks in advance everyone, MK