统计代码词汇最多的单词

grep -E -o -r ‘w+’ ./  --include=’*.js’  --exclude-dir=’.git’ --exclude-dir="node_modules" | cut -d: -f 2 | sort | uniq -c | sort -nk 1   | tail -n 5

原文地址:https://www.cnblogs.com/M-D-Luffy/p/4432010.html