how can I get the reverse format?
For the lines that have the same first field, I want to reduce them to one line having the second field strings separated by a comma.
inFile
A[tab]x
B[tab]y
B[tab]z
C[tab]r
C[tab]s
C[tab]t
D[tab]q
outFile
A[tab]x
B[tab]y,z
C[tab]r,s,t
D[tab]q
thank you
joseph