标签:sign uid ldb more log -o int document sources
1、按单词出现频率降序排序!推荐答案
grep -o "[a-Z]" oldboy.log|sort|uniq -c|sort -rn|head -5
sed -r ‘s#[ .,]##g‘ oldboy.log|awk -F "" ‘{for(i=1;i<=NF;i++)S[$i]++}END{for(k in S)print S[k],k}‘|sort -rn|head -5
标签:sign uid ldb more log -o int document sources
原文地址:http://blog.51cto.com/13667310/2141887