2020年1月3日

linux diff命令显示结果解析

摘要: 104c104表示两个文件都有此行,但该行有不同处107d106表示前个文件有此行,后一文件没有111a111表示后个文件有此行,前一文件没有这里数字都是行数 参考来源: https://zhidao.baidu.com/question/540299145.html 阅读全文

posted @ 2020-01-03 12:14 BPSO_mynotes 阅读(1183) 评论(0) 推荐(0) 编辑

linux删除文本中所有空行

摘要: sed '/^\s*$/d' test.txt 参考来源:https://blog.csdn.net/abinge317/article/details/51286974 阅读全文

posted @ 2020-01-03 11:29 BPSO_mynotes 阅读(498) 评论(0) 推荐(0) 编辑

导航