I know this should be an easy one by googling but was not successful. Sorry for that.
I would like to print the first line of groups defined the value in the first column. Delimiter is tab.
A 5 A 3 B 2 B 1 B 77 C 4 C 10000 D 99
A 5 B 2 C 4 D 99