linux刪除文件中空白行

来源:互联网 发布:nginx ssl ciphers 编辑:程序博客网 时间:2024/06/11 07:38

shell 方法

cat   filename | set -e '/^$/d' > filename

0 0