全部分类
移动开发与应用
WEB前端
架构与运维
程序设计
数据库
操作系统
热点技术
综合
Word Frequency
2900阅读 0评论
2015-07-11
qinchaowhut
分类:
LINUX
/> # Read from the file words.txt and output the word frequency list to stdout.
awk '{for(i=1;i<=NF;i++){arr[$i]++}} END{for(w in arr){print w" "arr[w]}}' words.txt|sort -nrk 2
上一篇:
head&&tail
下一篇:
Search for a Range