How does the pattern field work?
The pattern field refers to sets of files used by and generated from your program. It can contain a single file (when refering to a constant, for example) or a naming pattern. A naming pattern identifies a set of files with a common pattern in their names. For example, the set of text files below all have “input” and “txt” in their names: inputA.txt inputB.txt inputC.txt You can use the naming pattern input*.txt to refer to all three files: IN Foo input*.txt These three files will be treated as three jobs: job A, B, and C. The IN keyword indicates that the naming pattern refers to files in your local directory. Similarly, you can use a naming pattern for your output files. If you wanted all of them to have “output” and “txt” in their names, you could use output*.txt: IN Foo input*.txt OUT Bar output*.txt In this case, there are three input files that fit the naming pattern, so the program will run three times. Each time the program runs, it generates an output file called Bar. Legion t