Jus*_*ner 24 sed
我知道在SO中有一个类似的问题如何在bash中用一个空行替换多行空行?.但我的问题是,这可以通过使用sed命令来实现吗?
sed
谢谢
Pau*_*ce. 44
尝试一下:
sed '/^$/N;/^\n$/D' inputfile
归档时间:
15 年,1 月 前
查看次数:
15493 次
最近记录: