parsing - awk if first field occurs multiple times comma separate second field -


I do not know if awk is the right tool here, so if I should use something else as long as it is available Do not be, under Unix-like systems, it's okay!

My data:

  First Fu first time second forum for third off  

desired output:

  first foo, bar second forum, rab  

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -