摘要: linux方法 1) sed '/$/a\\n' test.txt,可以在文件的每行末尾添加一个回车 2) sed '$a\eof' test.txt,可以在文件的末尾添加'eof' 2) sed '$a\eof' test.txt,可以在文件的末尾添加'eof' 配合find命令实现批量添加 fi 阅读全文
posted @ 2017-03-20 22:36 潇湘灬隐者 阅读(1115) 评论(0) 推荐(0)