I have a few csv files that are formatted like:
test1.csv:
field,port1
a1,0.2
a2,0.3
a3,0.6
test2.csv:
field,port2
b1,0.5
b2,0.6
b3,0.7
b4,0.1
b5,0.5
test3.csv:
field, port3
c1,0.1
c2,0.4
and so forth.I want to merge these csvs into a single so it would look like:
field,port1,field,port2,field,port3
a1,0.2,b1,0.5,c1,0.1
a2,0.3,b2,0.6,c2,0.4
a3,0.6,b3,0.7,,
,,b4,0.1,,
,,b5,0.5,,
how can I do this? I cat >> but that would but everything in the first two columns. I can go about that way if I have to but having a merge like this can make my life a lot simpler.
Thanks