fork download
  1. awk 'NR>1{a[$1]=a[$1]", "$2;c[$1]++}END{for (k in a) print c[k] a[k]}' << EOF
  2. COL1, COL2
  3. 5, 25
  4. 5, 67
  5. 5, 89
  6. 3, 55
  7. 3, 8
  8. 3, 109
  9. 3, 12
  10. 3, 45
  11. 3, 663
  12. 80, 34
  13. 80, 5
  14. EOF
Success #stdin #stdout 0.02s 5264KB
stdin
Standard input is empty
stdout
6, 55, 8, 109, 12, 45, 663
3, 25, 67, 89
2, 34, 5