mreider
Programmer
- Nov 30, 2007
- 1
Hi there.
I have never used AWK, but I'm always ready to pick up a new language, and it might be the right one for the job here.
If you could give me some pointers, that would be awesome.
I have 6 CSV files.
They all have different info, but share one column in common - the "ID" column. They all have 2000 IDs, and the IDs are the same in each file.
I would like to merge all of this info, into one new CSV. The new CSV will still have 2000 IDs, but it will have all of the columns from each of the individual CSVs that were merged.
So something like...
loop through csv file 1.
Get all 2000 IDs and their data
loop through csv file 2
for each of the 2000 IDs, add columnar data with that from csv 1
Etc...
Help?
I have never used AWK, but I'm always ready to pick up a new language, and it might be the right one for the job here.
If you could give me some pointers, that would be awesome.
I have 6 CSV files.
They all have different info, but share one column in common - the "ID" column. They all have 2000 IDs, and the IDs are the same in each file.
I would like to merge all of this info, into one new CSV. The new CSV will still have 2000 IDs, but it will have all of the columns from each of the individual CSVs that were merged.
So something like...
loop through csv file 1.
Get all 2000 IDs and their data
loop through csv file 2
for each of the 2000 IDs, add columnar data with that from csv 1
Etc...
Help?