I’m trying to split out a large file into many files but am struggling to find the correct command:
My data is as follows:
subscriber,account_type,bill_date 447447447123,939,text,23, 447447447999,939,text,23, 447447447789,914,text,10, 447447447345,900,text,15,
I have over 2 million entries in this file and what i would like to do is save each data into a file depending on uniq 2nd and 4th column.
so the output of the files would be like:
Can anyone help with with a neat Perl one liner, or perhaps a for look command ?