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

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

原文地址:https://www.cnblogs.com/ilovewindy/p/4613160.html