标签:图片 col 基于 shell pig gif src close color
1.测试文件
[root@L shells]# cat catDog.txt snake snake pig bird dog cat snake pig bird snake cat bird dog bird tiger snake bird cat lion ji sdf
2.sed脚本文件
[root@L shells]# cat sed.txt /cat/,/dog/s/$/<---/
3.测试效果
[root@L shells]# sed -f sed.txt < catDog.txt snake snake pig bird dog cat <--- snake <--- pig<--- bird<--- snake<--- cat<--- bird<--- dog <--- bird tiger snake bird cat<--- lion<--- ji<--- sdf<---
标签:图片 col 基于 shell pig gif src close color
原文地址:https://www.cnblogs.com/ray-mmss/p/10126240.html