[root@localhost ~]# echo -n "jasdklfjalskdfjlkasdflkalskdjflkasjdlfjsdlkfklsndfi88weurqowrklasflki0273419234078dwfkjalksjdf"|sed 's/\(.\)/\1\n/g'|sort|uniq -c|sort -rn
12 l
12 k
10 f
9 s
9 d
8 j
7 a
3 w
3 8
2 r
2 i
2 7
2 4
2 3
2 2
2 0
1 u
1 q
1 o
1 n
1 e
1 9
1 1
阅读(1128) | 评论(0) | 转发(0) |