linux 中 sed = 选项在每一行之前插入编号
作者:互联网
001、
(base) root@PC1:/home/test4# ls a.txt (base) root@PC1:/home/test4# cat a.txt ## 测试数据 This is 1 This is 2 This is 3 This is 4 This is 5 (base) root@PC1:/home/test4# sed = a.txt ## 在每一行之前插入编号 1 This is 1 2 This is 2 3 This is 3 4 This is 4 5 This is 5
标签:sed,test4,PC1,插入,base,linux,home,txt,root 来源: https://www.cnblogs.com/liujiaxin2018/p/16593530.html