Using sed to add blank line at EOF

前端 未结 0 1917
情话喂你
情话喂你 2021-01-05 20:06

This sed command appends 2 lines to abc.txt

sed \'$ aline3\\nline4\' abc.txt

line 1
line 2
line 3
line 4

but wanted to ap

相关标签:
回答
  • 消灭零回复
提交回复
热议问题