I don't think there's any guarantee of the order in which <staffinfo*> will return files. Adding sort avoids the problem. (I prefer to use glob explicitely over using the highly overloaded <...> notation.)
for my input (sort glob 'staffinfo*') { ... }
In reply to Re^2: Combining files
by ikegami
in thread Combining files
by UrbanHick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |