I'm trying to merge columns based on the value in the first field. I've tried using awk, but to no avail. Please see example input and output:
Input:
10013 97 1503384
10013 196 1506234
10013 61 1507385
10013 1559 1508385
10014 1726 1514507
10014 960 1519162
10015 1920 1545535
10015 124 1548915
10015 77 1550284
Desired_Output:
10013 97,196,61,1559 1503384,1506234,1507385,1508385
10014 1726,960 1514507,1519162
10015 1920,124,77 1545535,1548915,1550284
Thanks in advance for any advice!