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
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