Summing values if same second column value – unix.stackexchange.com

With Unix script, I'd like to add values in column 1 if text in column 2 is the same and print the sum. I have a file that is: 7 GeneA 2 GeneB 6 GeneC 2 GeneB 9 GeneA I want the output to look ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Summing values if same second column value – unix.stackexchange.com"