I guess I wasn't clear. The file suffix is the part of the file after the number I'm operating on (for the file foo10bar.baz the suffix would be bar.baz. In most cases the suffix is just the file extension but I'm trying to make the script handle any filename regardless of the position of the digits.
I've gotten some inspiration from your code though, so thanks! I'll let you know how it turns out.
--
Grant me the wisdom to shut my mouth when I don't know what I'm talking about.
In reply to Re^2: Specific instance of a repeated string
by Ionizor
in thread Specific instance of a repeated string
by Ionizor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |