linux 中显示文本行数及非空文本行数

wc -l  *.txt |  gawk '$>0'
wc -l  *.txt |  gawk '$==0'

猜你喜欢

转载自blog.csdn.net/tianmingt/article/details/81774460
今日推荐