shell替换某一行 shell替换文件某一列 linux下查找某一行替换前后行?如果格式是你说的四行循环,那我们就换个思路,按换行,也就是说,每次出现第一次,就换行,换行后再换行。sed-i“:a/^/{s/*/X... 2021-03-13 2968次浏览