#!/bin/bash cat nowcoder.txt | cut -d ':' -f 2,3 | sort | uniq -c | tr -s ' ' | sed 's/^ //' | sort -r