2018年6月20日
摘要: 假设文档内容如下: 1 2 3 4 5 [root@localhost ~]# cat /tmp/input.txt null 000011112222 test 要求:在1111之前添加AAA,方法如下: sed -i 's/指定的字符/要插入的字符&/' 文件 1 2 3 4 5 6 [root 阅读全文
posted @ 2018-06-20 10:01 法海降妖 阅读(101) 评论(0) 推荐(0) 编辑