I have been thinking of how to script this but i have no clue at all..
Could someone please help me out or give me some idea on this?
I would like to group those lines with the same first variable in each line, joining the 2nd variables with commas.
Let's say i have the following input.
I would like the output to be like this.
Could this be easily done with bash script?
Or should i try perl script then?
I'm a beginner in bash script and perl.