Linux: 一行命令去除文件中所有空行

cat src.txt | grep '\S' > dist.txt

posted @ 2015-07-01 14:34  GreatK  阅读(845)  评论(0)    收藏  举报