linux删除文本中所有空行

 

sed '/^\s*$/d' test.txt

 

参考来源:https://blog.csdn.net/abinge317/article/details/51286974

posted on 2020-01-03 11:29  BPSO_mynotes  阅读(505)  评论(0)    收藏  举报

导航