Bash or PHP: Split csv file based on field value?
Is there a bash script out there that can split csv files based on a field in the csv file?
Here's a sample of my file:
What I'd like to have is:
The record counts are different and there are a total of about 100 files I'd like master.csv split into.
If this can be done in Excel, that would be fine as well.
Thanks in advance!