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

scala - Play Framework - how to bind form to a session field -

c++ - Why does Visual Studio Release build break on non-executing code line -

Firefox reacting to JQuery setTimeout that doesn't apply -