I'm breaking my head with something very simple, I need to insert a ";" (semicolon) after a sort / uniq in a file. As the number of repeated rows returns, I need this return that is always in the first column to be inserted this ";". I already searched with "CUT, AWK, SED" and did not get a satisfactory result.
Example:
cat /tmp/filtrado2.txt| sort| uniq -c| sort -nr
Thank you for helping me.