📜  shell 删除连续的换行符 - Shell-Bash 代码示例
📅  最后修改于: 2022-03-11 14:51:08.462000             🧑  作者: Mango
代码示例1
# remove blank lines
# technically, remove the extra repeated consecutive newlines (\n\n -> \n)
sed '/^$/d'