发新话题
打印

找出当前目录下文件中包含关键词最多的文件

找出当前目录下文件中包含关键词最多的文件

egrep -r -i "button_class|button2_class" . | awk -F: '{count[$1]++} END {for (file in count) print count[file], file}' | sort -nr

TOP

发新话题