Common regular expression (rpm)

grep linux command line can only use regular expressions

find . -name "*.java"|xargs cat|grep -v -e ^$ -e ^\s*\/\/.*$|wc -l

Learn the way to a regular expression, originally released in rookie tool ( https://www.cnblogs.com/zilongmao/p/8487149.html )

Guess you like

Origin www.cnblogs.com/BobHuang/p/11110276.html