Nice golfing :)
You'd have to remember to delete the output files before a re-run; and if the input is big, reopening the output files would likely be a significant factor.
I kept thinking about the one-arg open, but I couldn't make it work with an array element.
In reply to Re^3: AWK? Split one file in seperate files based on country
by BrowserUk
in thread AWK? Split one file in seperate files based on country
by Janwhatever
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |