shell 统计词频脚本
摘要:
#!/bin/bashif [ $# -ne 1 ];then echo "Usage:$0 filename"; exit -1fifilename=$1egrep -o "\b[[:alpha:]]+\b" $filename | awk '{count[$0]+... 阅读全文
posted @ 2015-09-16 10:45 ggbond1988 阅读(926) 评论(0) 推荐(0) 编辑
posted @ 2015-09-16 10:45 ggbond1988 阅读(926) 评论(0) 推荐(0) 编辑