I have output like ; (The columns separated by tab
name1 something1 name1 something2 name1 something3 name2 something4 name2 something5
For this output I need two output (if there is
name3, I will need 3 output) like
name1 something1 name1 something2 name1 something3
name2 something4 name2 something5
I think this will be done by AWK but I couldn't create magic words.
What is the best way to do this?
I need a condition to read
$1 "1.column" and print all of them(not delete duplicates) unless it will change and print other columns ($2,$3,...)
I think using loop it prints first output and so on.