I kept thinking about the one-arg open, but I couldn't make it work with an array element.
perl -F';' -ane'$F = ">>$F[0].csv"; open F and print F' junk.dat
In reply to Re^4: AWK? Split one file in seperate files based on country
by jwkrahn
in thread AWK? Split one file in seperate files based on country
by Janwhatever
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |