• + 0 comments

    uniq -c | tr -s '[:blank:]' | cut -c2-

    tr -s ' ' ' ': This command normalizes all sequences of spaces into a single space.