I have several input files to run a program, and I organized them in a way that the names of the input files are numbers. I would like to know if it is possible to write a loop to call these different input files, or in others words, to call a input file which name is a variable of the loop.
To be more specific, I created the input files in fortran, which names are "fort.XXX", where the XXX is a number, from 1 to 100. I call each of this inputs with a command like "program fort.XXX" Is there a way to create a loop in which I will write a command that is part constant ("program fort.") and part variable ("XXX")?
Many thanks in advance,